Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Add.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.00135/0.00135, allocations: 79.36 kB / 19.18 MB, free: 2.52 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.001398/0.001398, allocations: 166.8 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.407/1.407, allocations: 177.2 MB / 202.8 MB, free: 9.168 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.208/1.208, allocations: 154.6 MB / 413.8 MB, free: 5.203 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.Add,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Add") translateModel(IDEAS.Controls.OBC.CDL.Reals.Validation.Add,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Add") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.284e-06/2.284e-06, allocations: 0 / 0.6186 GB, free: 4.484 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.773e-05/3.002e-05, allocations: 2.281 kB / 0.6186 GB, free: 4.48 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Add): time 0.001684/0.001715, allocations: 0.682 MB / 0.6193 GB, free: 3.809 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001077/0.002791, allocations: 0.83 MB / 0.6201 GB, free: 2.969 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.39e-05/0.002825, allocations: 3.938 kB / 0.6201 GB, free: 2.965 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.178e-05/0.002857, allocations: 7.922 kB / 0.6201 GB, free: 2.957 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 6.116e-05/0.002918, allocations: 3.938 kB / 0.6201 GB, free: 2.953 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 6.435e-05/0.002982, allocations: 15.98 kB / 0.6201 GB, free: 2.938 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 8.845e-05/0.003071, allocations: 43.86 kB / 0.6202 GB, free: 2.895 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001052/0.003176, allocations: 11.98 kB / 0.6202 GB, free: 2.883 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 8.431e-05/0.00326, allocations: 23.97 kB / 0.6202 GB, free: 2.859 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 4.181e-05/0.003302, allocations: 19.86 kB / 0.6202 GB, free: 2.84 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.81e-05/0.00333, allocations: 4 kB / 0.6202 GB, free: 2.836 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 9.047e-06/0.003339, allocations: 4 kB / 0.6203 GB, free: 2.832 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.831e-05/0.003358, allocations: 7.984 kB / 0.6203 GB, free: 2.824 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.158e-05/0.003389, allocations: 12 kB / 0.6203 GB, free: 2.812 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 9.948e-05/0.003489, allocations: 43.86 kB / 0.6203 GB, free: 2.77 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 2.114e-06/0.003491, allocations: 0 / 0.6203 GB, free: 2.77 MB / 0.5294 GB Notification: Performance of FrontEnd: time 8.32e-07/0.003492, allocations: 4 kB / 0.6203 GB, free: 2.766 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 3.937e-06/0.003496, allocations: 0 / 0.6203 GB, free: 2.766 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.0005557/0.004051, allocations: 286.2 kB / 0.6206 GB, free: 2.453 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.806e-05/0.004089, allocations: 12.03 kB / 0.6206 GB, free: 2.441 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.1e-05/0.00412, allocations: 8.891 kB / 0.6206 GB, free: 2.434 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001266/0.004247, allocations: 117.8 kB / 0.6207 GB, free: 2.293 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.015e-05/0.004257, allocations: 4.375 kB / 0.6207 GB, free: 2.289 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.263e-05/0.00427, allocations: 384 / 0.6207 GB, free: 2.289 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002477/0.004517, allocations: 70.22 kB / 0.6208 GB, free: 2.215 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.358e-06/0.004527, allocations: 192 / 0.6208 GB, free: 2.215 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.05e-05/0.004537, allocations: 4.312 kB / 0.6208 GB, free: 2.211 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.939e-06/0.004542, allocations: 4.375 kB / 0.6208 GB, free: 2.207 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002965/0.004839, allocations: 67.86 kB / 0.6209 GB, free: 2.141 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003336/0.005172, allocations: 204.6 kB / 0.6211 GB, free: 1.91 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002038/0.005376, allocations: 58.53 kB / 0.6211 GB, free: 1.844 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001629/0.005539, allocations: 40.91 kB / 0.6212 GB, free: 1.801 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.409e-05/0.005553, allocations: 7.938 kB / 0.6212 GB, free: 1.793 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.987e-05/0.005583, allocations: 34.55 kB / 0.6212 GB, free: 1.75 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=3): time 1.072e-06/0.005584, allocations: 0 / 0.6212 GB, free: 1.75 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3): time 0.0005574/0.006141, allocations: 129.5 kB / 0.6213 GB, free: 1.617 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.803e-05/0.006179, allocations: 55.34 kB / 0.6214 GB, free: 1.551 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001093/0.006289, allocations: 113.8 kB / 0.6215 GB, free: 1.43 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.736e-05/0.006306, allocations: 25.7 kB / 0.6215 GB, free: 1.398 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 4.625e-05/0.006352, allocations: 80.14 kB / 0.6216 GB, free: 1.316 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.999e-05/0.006382, allocations: 23.83 kB / 0.6216 GB, free: 1.293 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.196e-05/0.006414, allocations: 9.719 kB / 0.6216 GB, free: 1.277 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001382/0.006553, allocations: 318.8 kB / 0.6219 GB, free: 0.957 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001505/0.006703, allocations: 35.95 kB / 0.622 GB, free: 0.9219 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001406/0.006844, allocations: 39.84 kB / 0.622 GB, free: 0.8828 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002777/0.007121, allocations: 64.78 kB / 0.6221 GB, free: 0.8164 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.007123, allocations: 0 / 0.6221 GB, free: 0.8164 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003315/0.007454, allocations: 97.62 kB / 0.6221 GB, free: 0.7148 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.653e-05/0.007471, allocations: 11.94 kB / 0.6222 GB, free: 0.7031 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.626e-06/0.007474, allocations: 0 / 0.6222 GB, free: 0.7031 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.975e-05/0.007494, allocations: 0 / 0.6222 GB, free: 0.7031 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001281/0.007622, allocations: 15.97 kB / 0.6222 GB, free: 0.6875 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.118e-06/0.007626, allocations: 0 / 0.6222 GB, free: 0.6875 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.279e-05/0.007709, allocations: 15.98 kB / 0.6222 GB, free: 0.6719 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.402e-06/0.007716, allocations: 0 / 0.6222 GB, free: 0.6719 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.426e-05/0.0078, allocations: 119.6 kB / 0.6223 GB, free: 0.5469 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.696e-05/0.007827, allocations: 7.953 kB / 0.6223 GB, free: 0.5391 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.076e-05/0.007858, allocations: 7.938 kB / 0.6223 GB, free: 0.5234 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.333e-06/0.007859, allocations: 0 / 0.6223 GB, free: 0.5234 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.007863, allocations: 0 / 0.6223 GB, free: 0.5234 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.007866, allocations: 0 / 0.6223 GB, free: 0.5234 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001352/0.008001, allocations: 113.3 kB / 0.6224 GB, free: 392 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.008004, allocations: 4 kB / 0.6224 GB, free: 388 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.935e-05/0.008104, allocations: 23.97 kB / 0.6225 GB, free: 364 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.614e-06/0.008105, allocations: 0 / 0.6225 GB, free: 364 kB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.875e-06/0.008113, allocations: 0 / 0.6225 GB, free: 364 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.507e-06/0.008117, allocations: 3.938 kB / 0.6225 GB, free: 360 kB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.82e-07/0.008117, allocations: 0 / 0.6225 GB, free: 360 kB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003862/0.008504, allocations: 191.4 kB / 0.6226 GB, free: 152 kB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 8.987e-06/0.008513, allocations: 3.984 kB / 0.6226 GB, free: 148 kB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.345e-05/0.008526, allocations: 7.938 kB / 0.6226 GB, free: 140 kB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001122/0.008638, allocations: 19.92 kB / 0.6227 GB, free: 120 kB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.842e-05/0.008687, allocations: 4.312 kB / 0.6227 GB, free: 116 kB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.021e-06/0.008693, allocations: 4 kB / 0.6227 GB, free: 112 kB / 0.5294 GB Notification: Performance of sorting global known variables: time 5.801e-05/0.008751, allocations: 87.27 kB / 0.6228 GB, free: 24 kB / 0.5294 GB Notification: Performance of sort global known variables: time 6e-08/0.008751, allocations: 0 / 0.6228 GB, free: 24 kB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002143/0.008965, allocations: 8 kB / 0.6228 GB, free: 16 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.000132/0.009097, allocations: 91.25 kB / 0.6229 GB, free: 15.92 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003501/0.009447, allocations: 67.92 kB / 0.6229 GB, free: 15.85 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 5.721e-06/0.009453, allocations: 4 kB / 0.6229 GB, free: 15.85 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001652/0.009618, allocations: 43.97 kB / 0.623 GB, free: 15.8 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002998/0.009918, allocations: 12.72 kB / 0.623 GB, free: 15.8 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000343/0.01026, allocations: 128.7 kB / 0.6231 GB, free: 15.64 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.486e-05/0.01034, allocations: 67.28 kB / 0.6232 GB, free: 15.56 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.547e-05/0.01036, allocations: 0 / 0.6232 GB, free: 15.56 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.848e-05/0.0104, allocations: 16.5 kB / 0.6232 GB, free: 15.54 MB / 0.545 GB Notification: Performance of SimCode: time 4.91e-07/0.0104, allocations: 0 / 0.6232 GB, free: 15.54 MB / 0.545 GB Notification: Performance of Templates: time 0.003234/0.01363, allocations: 0.728 MB / 0.6239 GB, free: 14.83 MB / 0.545 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Add.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Add.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Add.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Add.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Add.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Add -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Add.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.593978673219681] Failed to read output from testmodel.py, exit status != 0: 0.02213192731142044 0.037249066000000004 0.030792305000000002 Calling exit ...