Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Derivative.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.001308/0.001308, allocations: 83.03 kB / 19.18 MB, free: 2.516 MB / 14.72 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.001372/0.001372, allocations: 162.9 kB / 22.46 MB, free: 5.375 MB / 14.72 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 1.469/1.469, allocations: 177.1 MB / 202.8 MB, free: 9.16 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 1.199/1.199, allocations: 154.6 MB / 413.8 MB, free: 5.219 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 178] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.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(IDEAS.Controls.OBC.CDL.Reals.Validation.Derivative,tolerance=1e-07,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Derivative") translateModel(IDEAS.Controls.OBC.CDL.Reals.Validation.Derivative,tolerance=1e-07,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Derivative") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.713e-06/1.713e-06, allocations: 0 / 0.6186 GB, free: 4.492 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.495e-05/2.666e-05, allocations: 2.281 kB / 0.6186 GB, free: 4.488 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Derivative): time 0.002075/0.002101, allocations: 0.9965 MB / 0.6196 GB, free: 3.504 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001545/0.003647, allocations: 1.031 MB / 0.6206 GB, free: 2.461 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001147/0.003761, allocations: 4 kB / 0.6206 GB, free: 2.457 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001347/0.003896, allocations: 20.7 kB / 0.6206 GB, free: 2.438 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 6.847e-05/0.003965, allocations: 27.8 kB / 0.6207 GB, free: 2.41 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002996/0.004264, allocations: 75.28 kB / 0.6207 GB, free: 2.34 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0002253/0.00449, allocations: 188 kB / 0.6209 GB, free: 2.156 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001579/0.004648, allocations: 52.52 kB / 0.621 GB, free: 2.098 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001569/0.004804, allocations: 107.7 kB / 0.6211 GB, free: 1.992 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 9.799e-05/0.004902, allocations: 55.86 kB / 0.6211 GB, free: 1.938 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 3.387e-05/0.004936, allocations: 16 kB / 0.6211 GB, free: 1.922 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 5.899e-05/0.004995, allocations: 16 kB / 0.6212 GB, free: 1.906 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 4.606e-05/0.005041, allocations: 43.83 kB / 0.6212 GB, free: 1.863 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 6.482e-05/0.005106, allocations: 51.83 kB / 0.6213 GB, free: 1.812 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002723/0.005378, allocations: 203.3 kB / 0.6214 GB, free: 1.613 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 2.325e-06/0.005381, allocations: 0 / 0.6214 GB, free: 1.613 MB / 0.5294 GB Notification: Performance of FrontEnd: time 9.12e-07/0.005382, allocations: 0 / 0.6214 GB, free: 1.613 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.449e-06/0.005386, allocations: 0 / 0.6214 GB, free: 1.613 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.0008361/0.006222, allocations: 426.4 kB / 0.6219 GB, free: 1.16 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.472e-05/0.006257, allocations: 12.03 kB / 0.6219 GB, free: 1.148 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001017/0.006359, allocations: 20.83 kB / 0.6219 GB, free: 1.129 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002759/0.006635, allocations: 166 kB / 0.622 GB, free: 0.9414 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.295e-05/0.006658, allocations: 16.31 kB / 0.6221 GB, free: 0.9258 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.804e-05/0.006696, allocations: 16.36 kB / 0.6221 GB, free: 0.9102 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003534/0.007049, allocations: 179.7 kB / 0.6222 GB, free: 0.7227 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.528e-06/0.007059, allocations: 192 / 0.6222 GB, free: 0.7227 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.019e-05/0.007079, allocations: 8.125 kB / 0.6223 GB, free: 0.7148 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.432e-06/0.007085, allocations: 4 kB / 0.6223 GB, free: 0.7109 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002925/0.007378, allocations: 111.9 kB / 0.6224 GB, free: 0.6016 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001025/0.008402, allocations: 439.8 kB / 0.6228 GB, free: 144 kB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004001/0.008803, allocations: 140.9 kB / 0.6229 GB, free: 15.99 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001832/0.008986, allocations: 84.77 kB / 0.623 GB, free: 15.91 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.052e-05/0.009006, allocations: 0 / 0.623 GB, free: 15.91 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002575/0.009264, allocations: 152.9 kB / 0.6231 GB, free: 15.74 MB / 0.545 GB Notification: Performance of pre-optimization done (n=19): time 1.263e-06/0.009265, allocations: 0 / 0.6231 GB, free: 15.74 MB / 0.545 GB Notification: Performance of matching and sorting (n=19): time 0.0005661/0.009831, allocations: 223.1 kB / 0.6234 GB, free: 15.52 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.138e-05/0.009873, allocations: 51.41 kB / 0.6234 GB, free: 15.46 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001274/0.01, allocations: 156.9 kB / 0.6236 GB, free: 15.3 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.083e-05/0.01003, allocations: 33.7 kB / 0.6236 GB, free: 15.26 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 8.125e-05/0.01011, allocations: 116.5 kB / 0.6237 GB, free: 15.14 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 5.819e-05/0.01017, allocations: 63.48 kB / 0.6238 GB, free: 15.08 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.027e-05/0.01024, allocations: 45.7 kB / 0.6238 GB, free: 15.03 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001425/0.01038, allocations: 322.8 kB / 0.6241 GB, free: 14.7 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002101/0.01059, allocations: 63.95 kB / 0.6242 GB, free: 14.64 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002206/0.01081, allocations: 89.61 kB / 0.6243 GB, free: 14.55 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003575/0.01117, allocations: 148.2 kB / 0.6244 GB, free: 14.4 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.043e-06/0.01117, allocations: 0 / 0.6244 GB, free: 14.4 MB / 0.545 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005143/0.01169, allocations: 213.4 kB / 0.6246 GB, free: 14.18 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.788e-05/0.01171, allocations: 7.984 kB / 0.6246 GB, free: 14.18 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.01171, allocations: 0 / 0.6246 GB, free: 14.18 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.315e-05/0.01172, allocations: 0 / 0.6246 GB, free: 14.18 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001959/0.01192, allocations: 40.02 kB / 0.6246 GB, free: 14.14 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.32e-06/0.01192, allocations: 3.938 kB / 0.6247 GB, free: 14.13 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001445/0.01207, allocations: 35.8 kB / 0.6247 GB, free: 14.1 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.445e-05/0.01208, allocations: 4 kB / 0.6247 GB, free: 14.09 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,lesThr.lesHys.y,$PRE.lesThr.lesHys.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * 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 0.0001209/0.0122, allocations: 131.6 kB / 0.6248 GB, free: 13.96 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.523e-05/0.01223, allocations: 11.91 kB / 0.6248 GB, free: 13.95 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004478/0.01268, allocations: 196.7 kB / 0.625 GB, free: 13.75 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.559e-06/0.01268, allocations: 4 kB / 0.625 GB, free: 13.75 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/0.01269, allocations: 0 / 0.625 GB, free: 13.75 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/0.01269, allocations: 0 / 0.625 GB, free: 13.75 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008086/0.0135, allocations: 0.5029 MB / 0.6255 GB, free: 13.19 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.037e-06/0.0135, allocations: 8.031 kB / 0.6255 GB, free: 13.18 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001762/0.01368, allocations: 31.97 kB / 0.6255 GB, free: 13.15 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.01368, allocations: 4 kB / 0.6255 GB, free: 13.14 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.315e-05/0.0137, allocations: 8 kB / 0.6256 GB, free: 13.14 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.881e-06/0.01371, allocations: 7.938 kB / 0.6256 GB, free: 13.13 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/0.01371, allocations: 3.938 kB / 0.6256 GB, free: 13.12 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006183/0.01433, allocations: 376.4 kB / 0.6259 GB, free: 12.72 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 2.157e-05/0.01435, allocations: 19.92 kB / 0.6259 GB, free: 12.7 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.695e-05/0.01438, allocations: 8 kB / 0.626 GB, free: 12.7 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001691/0.01455, allocations: 19.92 kB / 0.626 GB, free: 12.68 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.235e-05/0.01461, allocations: 19.97 kB / 0.626 GB, free: 12.66 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.818e-05/0.01463, allocations: 11.98 kB / 0.626 GB, free: 12.64 MB / 0.545 GB Notification: Performance of sorting global known variables: time 7.655e-05/0.01471, allocations: 105.5 kB / 0.6261 GB, free: 12.54 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.01471, allocations: 0 / 0.6261 GB, free: 12.54 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002718/0.01498, allocations: 39.89 kB / 0.6261 GB, free: 12.5 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (der2.x,intWitRes.y,der1.x) * Number of discrete variables: 2 ($whenCondition1,lesThr.lesHys.y) * Number of discrete states: 1 (lesThr.lesHys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0001331/0.01511, allocations: 111.2 kB / 0.6262 GB, free: 12.39 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0004309/0.01554, allocations: 154.8 kB / 0.6264 GB, free: 12.24 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.01554, allocations: 3.938 kB / 0.6264 GB, free: 12.23 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001972/0.01574, allocations: 83.84 kB / 0.6265 GB, free: 12.15 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003291/0.01607, allocations: 30.98 kB / 0.6265 GB, free: 12.12 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006352/0.01671, allocations: 363.2 kB / 0.6269 GB, free: 11.72 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001076/0.01681, allocations: 112.3 kB / 0.627 GB, free: 11.59 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 5.997e-05/0.01687, allocations: 13.58 kB / 0.627 GB, free: 11.58 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.004e-05/0.01693, allocations: 20.48 kB / 0.627 GB, free: 11.56 MB / 0.545 GB Notification: Performance of SimCode: time 3.41e-07/0.01693, allocations: 0 / 0.627 GB, free: 11.56 MB / 0.545 GB Notification: Performance of Templates: time 0.005103/0.02204, allocations: 1.733 MB / 0.6287 GB, free: 9.871 MB / 0.545 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Derivative.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Derivative.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Derivative.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Derivative.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Derivative.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Derivative -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Derivative.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.772213619202375] Failed to read output from testmodel.py, exit status != 0: 0.030804496258497238 0.045917185000000006 0.037627756000000005 Calling exit ...