Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Nor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007331/0.0007331, allocations: 115 kB / 19.7 MB, free: 0.5312 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0007579/0.0007579, allocations: 203.2 kB / 23 MB, free: 3.129 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8921/0.8921, allocations: 230.6 MB / 256.8 MB, free: 3.566 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/package.mo): time 0.03681/0.03681, allocations: 12.19 MB / 325.4 MB, free: 3.449 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.0004394/0.0004394, allocations: 40.45 kB / 384.9 MB, free: 45.79 MB / 298.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.0/package.mo): time 1.625/1.625, allocations: 353.8 MB / 0.7794 GB, free: 13.05 MB / 0.5262 GB " [Timeout remaining time 178] Using package AixLib with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.0/package.mo) Using package SDF with version 0.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo) Using package Modelica_DeviceDrivers with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(AixLib.Controls.OBC.CDL.Logical.Validation.Nor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Nor") translateModel(AixLib.Controls.OBC.CDL.Logical.Validation.Nor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Nor") [Timeout 660] "Notification: AixLib requested package Modelica_DeviceDrivers of version 2.1.1. Modelica_DeviceDrivers 2.2.0 is used instead which states that it is fully compatible without conversion script needed. Notification: AixLib requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001416/0.001416, allocations: 122.8 kB / 1.061 GB, free: 9.238 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2185/0.2199, allocations: 134.9 MB / 1.193 GB, free: 2.422 MB / 0.823 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Logical.Validation.Nor): time 0.001398/0.2213, allocations: 0.6448 MB / 1.194 GB, free: 1.781 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.001158/0.2225, allocations: 1.247 MB / 1.195 GB, free: 0.5234 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.436e-05/0.2225, allocations: 0 / 1.195 GB, free: 0.5234 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 2.493e-05/0.2225, allocations: 3.938 kB / 1.195 GB, free: 0.5195 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 6.509e-05/0.2226, allocations: 7.938 kB / 1.195 GB, free: 0.5117 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004984/0.2231, allocations: 221.2 kB / 1.195 GB, free: 308 kB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.0001873/0.2233, allocations: 175.6 kB / 1.195 GB, free: 132 kB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 9.674e-05/0.2234, allocations: 11.98 kB / 1.195 GB, free: 120 kB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 7.932e-05/0.2235, allocations: 63.95 kB / 1.195 GB, free: 56 kB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001182/0.2236, allocations: 59.86 kB / 1.195 GB, free: 15.99 MB / 0.8387 GB Notification: Performance of NFPackage.collectConstants: time 2.442e-05/0.2236, allocations: 16 kB / 1.195 GB, free: 15.98 MB / 0.8387 GB Notification: Performance of NFFlatten.collectFunctions: time 6.272e-05/0.2237, allocations: 27.92 kB / 1.195 GB, free: 15.95 MB / 0.8387 GB Notification: Performance of NFScalarize.scalarize: time 2.096e-05/0.2237, allocations: 19.97 kB / 1.195 GB, free: 15.93 MB / 0.8387 GB Notification: Performance of NFVerifyModel.verify: time 6.391e-05/0.2237, allocations: 55.84 kB / 1.195 GB, free: 15.88 MB / 0.8387 GB Notification: Performance of NFConvertDAE.convert: time 0.0001686/0.2239, allocations: 151.6 kB / 1.196 GB, free: 15.73 MB / 0.8387 GB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.2239, allocations: 0 / 1.196 GB, free: 15.73 MB / 0.8387 GB Notification: Performance of FrontEnd: time 1.412e-06/0.2239, allocations: 0 / 1.196 GB, free: 15.73 MB / 0.8387 GB Notification: Performance of Transformations before backend: time 6.522e-06/0.2239, allocations: 0 / 1.196 GB, free: 15.73 MB / 0.8387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003993/0.2243, allocations: 363.6 kB / 1.196 GB, free: 15.33 MB / 0.8387 GB Notification: Performance of prepare preOptimizeDAE: time 3.509e-05/0.2244, allocations: 19.92 kB / 1.196 GB, free: 15.31 MB / 0.8387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.763e-05/0.2244, allocations: 12.89 kB / 1.196 GB, free: 15.3 MB / 0.8387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.036e-05/0.2245, allocations: 110.4 kB / 1.196 GB, free: 15.17 MB / 0.8387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.278e-05/0.2245, allocations: 12.38 kB / 1.196 GB, free: 15.16 MB / 0.8387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.307e-05/0.2245, allocations: 20.34 kB / 1.196 GB, free: 15.14 MB / 0.8387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.651e-05/0.2246, allocations: 42.25 kB / 1.196 GB, free: 15.09 MB / 0.8387 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.152e-06/0.2246, allocations: 192 / 1.196 GB, free: 15.09 MB / 0.8387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.848e-06/0.2246, allocations: 3.938 kB / 1.196 GB, free: 15.09 MB / 0.8387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.2246, allocations: 4 kB / 1.196 GB, free: 15.08 MB / 0.8387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.492e-05/0.2247, allocations: 19.92 kB / 1.196 GB, free: 15.06 MB / 0.8387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003801/0.225, allocations: 323.8 kB / 1.197 GB, free: 14.7 MB / 0.8387 GB Notification: Performance of preOpt comSubExp (simulation): time 6.463e-05/0.2251, allocations: 30.52 kB / 1.197 GB, free: 14.66 MB / 0.8387 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.255e-05/0.2251, allocations: 16.95 kB / 1.197 GB, free: 14.64 MB / 0.8387 GB Notification: Performance of preOpt evalFunc (simulation): time 8.807e-06/0.2251, allocations: 3.984 kB / 1.197 GB, free: 14.64 MB / 0.8387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001547/0.2253, allocations: 83.3 kB / 1.197 GB, free: 14.55 MB / 0.8387 GB Notification: Performance of pre-optimization done (n=7): time 1.843e-06/0.2253, allocations: 0 / 1.197 GB, free: 14.55 MB / 0.8387 GB Notification: Performance of matching and sorting (n=7): time 0.0002646/0.2256, allocations: 97.62 kB / 1.197 GB, free: 14.45 MB / 0.8387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.305e-05/0.2256, allocations: 59.41 kB / 1.197 GB, free: 14.38 MB / 0.8387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000108/0.2257, allocations: 125.7 kB / 1.197 GB, free: 14.24 MB / 0.8387 GB Notification: Performance of collectPreVariables (initialization): time 2.692e-05/0.2257, allocations: 33.7 kB / 1.197 GB, free: 14.2 MB / 0.8387 GB Notification: Performance of collectInitialEqns (initialization): time 6.969e-05/0.2258, allocations: 88.14 kB / 1.197 GB, free: 14.11 MB / 0.8387 GB Notification: Performance of collectInitialBindings (initialization): time 2.025e-05/0.2258, allocations: 15.89 kB / 1.197 GB, free: 14.1 MB / 0.8387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.346e-05/0.2259, allocations: 49.69 kB / 1.197 GB, free: 14.04 MB / 0.8387 GB Notification: Performance of setup shared object (initialization): time 0.0001159/0.226, allocations: 322.8 kB / 1.197 GB, free: 13.72 MB / 0.8387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001265/0.2262, allocations: 63.97 kB / 1.197 GB, free: 13.66 MB / 0.8387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001347/0.2263, allocations: 92.19 kB / 1.198 GB, free: 13.55 MB / 0.8387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001731/0.2265, allocations: 155.6 kB / 1.198 GB, free: 13.37 MB / 0.8387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.2265, allocations: 4 kB / 1.198 GB, free: 13.37 MB / 0.8387 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003283/0.2268, allocations: 265.3 kB / 1.198 GB, free: 13.09 MB / 0.8387 GB Notification: Performance of prepare postOptimizeDAE: time 4.695e-05/0.2268, allocations: 71.95 kB / 1.198 GB, free: 13.01 MB / 0.8387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.501e-06/0.2268, allocations: 0 / 1.198 GB, free: 13.01 MB / 0.8387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.286e-05/0.2269, allocations: 4 kB / 1.198 GB, free: 13 MB / 0.8387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.215e-05/0.2269, allocations: 4 kB / 1.198 GB, free: 13 MB / 0.8387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.191e-06/0.2269, allocations: 4 kB / 1.198 GB, free: 13 MB / 0.8387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002013/0.2271, allocations: 56.05 kB / 1.198 GB, free: 12.94 MB / 0.8387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.941e-05/0.2271, allocations: 19.94 kB / 1.198 GB, free: 12.92 MB / 0.8387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,nor1.y,booPul2.y,$PRE.booPul2.y,booPul1.y,$PRE.booPul1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.529e-05/0.2272, allocations: 125.8 kB / 1.198 GB, free: 12.79 MB / 0.8387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.125e-05/0.2272, allocations: 7.953 kB / 1.198 GB, free: 12.78 MB / 0.8387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.398e-05/0.2272, allocations: 8.375 kB / 1.198 GB, free: 12.77 MB / 0.8387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.2272, allocations: 4 kB / 1.198 GB, free: 12.77 MB / 0.8387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.2272, allocations: 0 / 1.198 GB, free: 12.77 MB / 0.8387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.466e-06/0.2272, allocations: 4 kB / 1.198 GB, free: 12.76 MB / 0.8387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.941e-05/0.2273, allocations: 156.6 kB / 1.198 GB, free: 12.57 MB / 0.8387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.2273, allocations: 0 / 1.198 GB, free: 12.57 MB / 0.8387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.821e-06/0.2273, allocations: 0 / 1.198 GB, free: 12.57 MB / 0.8387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.152e-06/0.2273, allocations: 0 / 1.198 GB, free: 12.57 MB / 0.8387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.694e-06/0.2274, allocations: 4 kB / 1.198 GB, free: 12.56 MB / 0.8387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.2274, allocations: 0 / 1.198 GB, free: 12.56 MB / 0.8387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.2274, allocations: 0 / 1.198 GB, free: 12.56 MB / 0.8387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001144/0.2275, allocations: 124.9 kB / 1.199 GB, free: 12.42 MB / 0.8387 GB Notification: Performance of postOpt removeConstants (simulation): time 7.935e-06/0.2275, allocations: 3.953 kB / 1.199 GB, free: 12.42 MB / 0.8387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.123e-05/0.2275, allocations: 4 kB / 1.199 GB, free: 12.41 MB / 0.8387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.374e-05/0.2275, allocations: 0 / 1.199 GB, free: 12.41 MB / 0.8387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.642e-05/0.2275, allocations: 3.984 kB / 1.199 GB, free: 12.41 MB / 0.8387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.043e-06/0.2275, allocations: 8 kB / 1.199 GB, free: 12.4 MB / 0.8387 GB Notification: Performance of sorting global known variables: time 3.575e-05/0.2276, allocations: 91.27 kB / 1.199 GB, free: 12.31 MB / 0.8387 GB Notification: Performance of sort global known variables: time 5e-08/0.2276, allocations: 0 / 1.199 GB, free: 12.31 MB / 0.8387 GB Notification: Performance of remove unused functions: time 0.0001668/0.2278, allocations: 28 kB / 1.199 GB, free: 12.29 MB / 0.8387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,nor1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001228/0.2279, allocations: 109.4 kB / 1.199 GB, free: 12.17 MB / 0.8387 GB Notification: Performance of simCode: created initialization part: time 0.0002533/0.2281, allocations: 219 kB / 1.199 GB, free: 11.93 MB / 0.8387 GB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.2281, allocations: 0 / 1.199 GB, free: 11.93 MB / 0.8387 GB Notification: Performance of simCode: created simulation system equations: time 3.829e-05/0.2282, allocations: 27.92 kB / 1.199 GB, free: 11.91 MB / 0.8387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001884/0.2284, allocations: 21.77 kB / 1.199 GB, free: 11.89 MB / 0.8387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002902/0.2286, allocations: 184.7 kB / 1.199 GB, free: 11.67 MB / 0.8387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001805/0.2288, allocations: 0.6846 MB / 1.2 GB, free: 10.96 MB / 0.8387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.211e-05/0.2288, allocations: 11.44 kB / 1.2 GB, free: 10.95 MB / 0.8387 GB Notification: Performance of SimCode: time 6.81e-07/0.2288, allocations: 0 / 1.2 GB, free: 10.95 MB / 0.8387 GB Notification: Performance of Templates: time 0.002181/0.231, allocations: 1.385 MB / 1.201 GB, free: 9.582 MB / 0.8387 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Nor.makefile [Timeout 660] (rm -f AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Nor.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Nor.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Nor.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Nor.sim & ./AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Nor -abortSlowSimulation -alarm=480 -lv LOG_STATS > AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Nor.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.684676242992282] Failed to read output from testmodel.py, exit status != 0: 0.23690470680594444 0.24583041400000002 0.020128902 Calling exit ...