Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Average.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.001623/0.001623, allocations: 78.72 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.002028/0.002028, allocations: 175.4 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.435/1.435, allocations: 177.2 MB / 202.8 MB, free: 9.172 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.17/1.17, allocations: 154.7 MB / 413.9 MB, free: 5.148 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.Average,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Average") translateModel(IDEAS.Controls.OBC.CDL.Reals.Validation.Average,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Average") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.234e-06/2.234e-06, allocations: 0 / 0.6188 GB, free: 4.492 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.807e-05/3.031e-05, allocations: 5.906 kB / 0.6188 GB, free: 4.488 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Average): time 0.0018/0.00183, allocations: 0.6866 MB / 0.6195 GB, free: 3.812 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001209/0.003039, allocations: 0.8237 MB / 0.6203 GB, free: 2.977 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.131e-05/0.00308, allocations: 0 / 0.6203 GB, free: 2.977 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.165e-05/0.003112, allocations: 3.938 kB / 0.6203 GB, free: 2.973 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 8.107e-05/0.003193, allocations: 15.92 kB / 0.6203 GB, free: 2.957 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 6.773e-05/0.003261, allocations: 7.984 kB / 0.6203 GB, free: 2.949 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 9.265e-05/0.003353, allocations: 43.91 kB / 0.6204 GB, free: 2.906 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000114/0.003467, allocations: 19.92 kB / 0.6204 GB, free: 2.887 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 8.692e-05/0.003554, allocations: 23.92 kB / 0.6204 GB, free: 2.863 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 4.185e-05/0.003596, allocations: 11.98 kB / 0.6204 GB, free: 2.852 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.021e-05/0.003616, allocations: 4 kB / 0.6204 GB, free: 2.848 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 8.636e-06/0.003625, allocations: 4 kB / 0.6204 GB, free: 2.844 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 2.287e-05/0.003648, allocations: 15.92 kB / 0.6204 GB, free: 2.828 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.725e-05/0.003675, allocations: 8 kB / 0.6204 GB, free: 2.82 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001022/0.003777, allocations: 47.84 kB / 0.6205 GB, free: 2.773 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 2.835e-06/0.00378, allocations: 4 kB / 0.6205 GB, free: 2.77 MB / 0.5294 GB Notification: Performance of FrontEnd: time 7.02e-07/0.003781, allocations: 0 / 0.6205 GB, free: 2.77 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.981e-06/0.003787, allocations: 0 / 0.6205 GB, free: 2.77 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005397/0.004327, allocations: 286.2 kB / 0.6208 GB, free: 2.457 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.769e-05/0.004364, allocations: 8.031 kB / 0.6208 GB, free: 2.449 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.01e-05/0.004394, allocations: 8.891 kB / 0.6208 GB, free: 2.441 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001223/0.004517, allocations: 113.8 kB / 0.6209 GB, free: 2.305 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.687e-05/0.004534, allocations: 8.375 kB / 0.6209 GB, free: 2.297 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.421e-05/0.004548, allocations: 384 / 0.6209 GB, free: 2.297 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002502/0.004798, allocations: 78.16 kB / 0.621 GB, free: 2.215 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.147e-06/0.004807, allocations: 192 / 0.621 GB, free: 2.215 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.006e-05/0.004817, allocations: 384 / 0.621 GB, free: 2.215 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.078e-06/0.004821, allocations: 384 / 0.621 GB, free: 2.215 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002771/0.005098, allocations: 75.8 kB / 0.621 GB, free: 2.141 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003541/0.005452, allocations: 208.6 kB / 0.6212 GB, free: 1.906 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002089/0.005661, allocations: 54.47 kB / 0.6213 GB, free: 1.844 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001444/0.005806, allocations: 32.92 kB / 0.6213 GB, free: 1.809 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.925e-05/0.005825, allocations: 8 kB / 0.6213 GB, free: 1.801 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.079e-05/0.005856, allocations: 30.56 kB / 0.6214 GB, free: 1.762 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=3): time 1.142e-06/0.005857, allocations: 0 / 0.6214 GB, free: 1.762 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3): time 0.0005595/0.006416, allocations: 133.5 kB / 0.6215 GB, free: 1.625 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.452e-05/0.006461, allocations: 51.41 kB / 0.6215 GB, free: 1.562 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.467e-05/0.006556, allocations: 113.8 kB / 0.6216 GB, free: 1.441 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.838e-05/0.006574, allocations: 25.7 kB / 0.6217 GB, free: 1.41 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 5.735e-05/0.006631, allocations: 84.14 kB / 0.6218 GB, free: 1.324 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.652e-05/0.006658, allocations: 23.83 kB / 0.6218 GB, free: 1.301 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.722e-05/0.006695, allocations: 13.72 kB / 0.6218 GB, free: 1.281 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001352/0.00683, allocations: 314.8 kB / 0.6221 GB, free: 0.9648 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001473/0.006978, allocations: 31.95 kB / 0.6221 GB, free: 0.9336 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000127/0.007105, allocations: 32.16 kB / 0.6222 GB, free: 0.9023 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002708/0.007375, allocations: 72.86 kB / 0.6222 GB, free: 0.8281 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.007377, allocations: 0 / 0.6222 GB, free: 0.8281 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000302/0.007679, allocations: 93.62 kB / 0.6223 GB, free: 0.7305 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.731e-05/0.007696, allocations: 7.938 kB / 0.6223 GB, free: 0.7227 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.867e-06/0.0077, allocations: 7.938 kB / 0.6223 GB, free: 0.7148 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.36e-05/0.007714, allocations: 0 / 0.6223 GB, free: 0.7148 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001248/0.007839, allocations: 19.92 kB / 0.6223 GB, free: 0.6953 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.618e-06/0.007843, allocations: 0 / 0.6223 GB, free: 0.6953 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.987e-05/0.007923, allocations: 19.97 kB / 0.6224 GB, free: 0.6758 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.601e-06/0.007929, allocations: 0 / 0.6224 GB, free: 0.6758 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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 8.777e-05/0.008016, allocations: 111.7 kB / 0.6225 GB, free: 0.5586 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.509e-05/0.008042, allocations: 3.953 kB / 0.6225 GB, free: 0.5547 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.071e-05/0.008072, allocations: 15.94 kB / 0.6225 GB, free: 0.5312 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.704e-06/0.008074, allocations: 0 / 0.6225 GB, free: 0.5312 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.898e-06/0.008078, allocations: 0 / 0.6225 GB, free: 0.5312 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.906e-06/0.008081, allocations: 4 kB / 0.6225 GB, free: 0.5273 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001455/0.008226, allocations: 113.3 kB / 0.6226 GB, free: 396 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.008227, allocations: 0 / 0.6226 GB, free: 396 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001004/0.008328, allocations: 19.97 kB / 0.6226 GB, free: 376 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.008329, allocations: 0 / 0.6226 GB, free: 376 kB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.301e-06/0.008336, allocations: 0 / 0.6226 GB, free: 376 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.727e-06/0.008339, allocations: 3.938 kB / 0.6226 GB, free: 372 kB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.00834, allocations: 0 / 0.6226 GB, free: 372 kB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003805/0.008721, allocations: 203.4 kB / 0.6228 GB, free: 152 kB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 6.352e-06/0.008727, allocations: 0 / 0.6228 GB, free: 152 kB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.758e-05/0.008744, allocations: 11.92 kB / 0.6228 GB, free: 140 kB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001068/0.008851, allocations: 15.92 kB / 0.6228 GB, free: 124 kB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.363e-05/0.008895, allocations: 0 / 0.6228 GB, free: 124 kB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.715e-06/0.008903, allocations: 8 kB / 0.6229 GB, free: 116 kB / 0.5294 GB Notification: Performance of sorting global known variables: time 5.054e-05/0.008953, allocations: 83.27 kB / 0.6229 GB, free: 32 kB / 0.5294 GB Notification: Performance of sort global known variables: time 6e-08/0.008953, allocations: 0 / 0.6229 GB, free: 32 kB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002197/0.009173, allocations: 12 kB / 0.6229 GB, free: 20 kB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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.0001381/0.009311, allocations: 99.25 kB / 0.623 GB, free: 15.91 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003464/0.009657, allocations: 67.92 kB / 0.6231 GB, free: 15.85 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.009659, allocations: 0 / 0.6231 GB, free: 15.85 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001495/0.009809, allocations: 39.89 kB / 0.6231 GB, free: 15.81 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003449/0.01015, allocations: 10.95 kB / 0.6232 GB, free: 15.8 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003721/0.01053, allocations: 120.7 kB / 0.6233 GB, free: 15.66 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.449e-05/0.01059, allocations: 71.27 kB / 0.6233 GB, free: 15.57 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.382e-05/0.01062, allocations: 0 / 0.6233 GB, free: 15.57 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.614e-05/0.01066, allocations: 12.5 kB / 0.6233 GB, free: 15.55 MB / 0.545 GB Notification: Performance of SimCode: time 2.91e-07/0.01066, allocations: 0 / 0.6233 GB, free: 15.55 MB / 0.545 GB Notification: Performance of Templates: time 0.003468/0.01413, allocations: 0.736 MB / 0.6241 GB, free: 14.84 MB / 0.545 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Average.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Average.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Average.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Average.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Average.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Average -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Average.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.638242283836007] Failed to read output from testmodel.py, exit status != 0: 0.022530192509293556 0.037183112000000004 0.030357540000000002 Calling exit ...