Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Subtract.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.001346/0.001346, allocations: 79.2 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.001407/0.001407, allocations: 165.9 kB / 22.45 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.409/1.409, 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.207/1.207, allocations: 154.6 MB / 413.8 MB, free: 5.227 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.Subtract,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Subtract") translateModel(IDEAS.Controls.OBC.CDL.Reals.Validation.Subtract,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Subtract") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.683e-06/1.683e-06, allocations: 0 / 0.6187 GB, free: 4.48 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.098e-05/2.266e-05, allocations: 2.281 kB / 0.6187 GB, free: 4.477 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Subtract): time 0.001545/0.001568, allocations: 0.6776 MB / 0.6193 GB, free: 3.812 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001039/0.002606, allocations: 0.8315 MB / 0.6201 GB, free: 2.969 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.4e-05/0.00264, allocations: 3.938 kB / 0.6201 GB, free: 2.965 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.711e-05/0.002668, allocations: 3.938 kB / 0.6201 GB, free: 2.961 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 6.98e-05/0.002737, allocations: 16.42 kB / 0.6201 GB, free: 2.945 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 6.106e-05/0.002798, allocations: 15.98 kB / 0.6202 GB, free: 2.93 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 7.9e-05/0.002877, allocations: 39.86 kB / 0.6202 GB, free: 2.891 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 9.136e-05/0.002969, allocations: 11.98 kB / 0.6202 GB, free: 2.879 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 8.053e-05/0.003049, allocations: 19.98 kB / 0.6202 GB, free: 2.859 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 4.664e-05/0.003096, allocations: 19.91 kB / 0.6203 GB, free: 2.84 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.857e-05/0.003114, allocations: 4 kB / 0.6203 GB, free: 2.836 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 9.157e-06/0.003124, allocations: 4 kB / 0.6203 GB, free: 2.832 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.666e-05/0.00314, allocations: 4 kB / 0.6203 GB, free: 2.828 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.227e-05/0.003173, allocations: 19.92 kB / 0.6203 GB, free: 2.809 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 8.865e-05/0.003261, allocations: 39.92 kB / 0.6203 GB, free: 2.77 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 1.904e-06/0.003263, allocations: 4 kB / 0.6203 GB, free: 2.766 MB / 0.5294 GB Notification: Performance of FrontEnd: time 5.81e-07/0.003264, allocations: 0 / 0.6203 GB, free: 2.766 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 3.146e-06/0.003267, 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.0004866/0.003753, allocations: 290.1 kB / 0.6206 GB, free: 2.449 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.708e-05/0.003791, allocations: 12.03 kB / 0.6206 GB, free: 2.438 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.438e-05/0.003825, allocations: 4.891 kB / 0.6206 GB, free: 2.434 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001073/0.003932, allocations: 109.8 kB / 0.6207 GB, free: 2.301 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.052e-05/0.003943, allocations: 384 / 0.6207 GB, free: 2.301 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.129e-05/0.003954, allocations: 8.312 kB / 0.6207 GB, free: 2.293 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000244/0.004198, allocations: 78.2 kB / 0.6208 GB, free: 2.211 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.637e-06/0.004207, allocations: 192 / 0.6208 GB, free: 2.211 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.095e-06/0.004215, allocations: 384 / 0.6208 GB, free: 2.211 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.494e-06/0.004222, allocations: 4.375 kB / 0.6208 GB, free: 2.207 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002952/0.004517, allocations: 63.86 kB / 0.6209 GB, free: 2.145 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003225/0.00484, allocations: 212.6 kB / 0.6211 GB, free: 1.906 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002004/0.00504, allocations: 58.41 kB / 0.6211 GB, free: 1.84 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000173/0.005213, allocations: 44.91 kB / 0.6212 GB, free: 1.793 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.428e-05/0.005228, allocations: 0 / 0.6212 GB, free: 1.793 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.533e-05/0.005253, allocations: 34.56 kB / 0.6212 GB, free: 1.75 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=3): time 8.12e-07/0.005254, allocations: 0 / 0.6212 GB, free: 1.75 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3): time 0.0005433/0.005797, allocations: 129.5 kB / 0.6213 GB, free: 1.617 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.812e-05/0.005845, allocations: 59.33 kB / 0.6214 GB, free: 1.547 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.79e-05/0.005933, allocations: 105.9 kB / 0.6215 GB, free: 1.434 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.903e-05/0.005952, allocations: 29.7 kB / 0.6215 GB, free: 1.398 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 5.238e-05/0.006005, allocations: 84.12 kB / 0.6216 GB, free: 1.312 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.592e-05/0.006031, allocations: 23.83 kB / 0.6216 GB, free: 1.289 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.319e-05/0.006064, allocations: 9.719 kB / 0.6216 GB, free: 1.273 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001418/0.006206, allocations: 326.8 kB / 0.6219 GB, free: 0.9453 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001498/0.006355, allocations: 27.97 kB / 0.622 GB, free: 0.918 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001374/0.006493, allocations: 31.91 kB / 0.622 GB, free: 0.8867 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000278/0.006771, allocations: 68.78 kB / 0.6221 GB, free: 0.8164 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.006772, allocations: 4 kB / 0.6221 GB, free: 0.8125 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003305/0.007103, allocations: 97.56 kB / 0.6222 GB, free: 0.7109 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.421e-05/0.007117, allocations: 7.938 kB / 0.6222 GB, free: 0.7031 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.662e-06/0.007124, allocations: 4 kB / 0.6222 GB, free: 0.6992 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.7e-05/0.007141, allocations: 3.984 kB / 0.6222 GB, free: 0.6953 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001229/0.007264, allocations: 11.98 kB / 0.6222 GB, free: 0.6836 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.959e-06/0.007269, allocations: 4 kB / 0.6222 GB, free: 0.6797 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.749e-05/0.007346, allocations: 11.98 kB / 0.6222 GB, free: 0.668 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.322e-06/0.007352, allocations: 0 / 0.6222 GB, free: 0.668 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.073e-05/0.007433, allocations: 115.7 kB / 0.6223 GB, free: 0.5469 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.411e-05/0.007457, allocations: 3.953 kB / 0.6223 GB, free: 0.543 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.799e-05/0.007485, allocations: 15.92 kB / 0.6223 GB, free: 0.5195 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.272e-06/0.007486, allocations: 0 / 0.6223 GB, free: 0.5195 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-06/0.00749, allocations: 0 / 0.6223 GB, free: 0.5195 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.007492, allocations: 0 / 0.6223 GB, free: 0.5195 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001377/0.00763, allocations: 113.6 kB / 0.6224 GB, free: 388 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.007631, allocations: 4 kB / 0.6224 GB, free: 384 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.512e-05/0.007726, allocations: 15.98 kB / 0.6225 GB, free: 368 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.402e-06/0.007727, allocations: 0 / 0.6225 GB, free: 368 kB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.853e-06/0.007734, allocations: 0 / 0.6225 GB, free: 368 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.786e-06/0.007737, allocations: 7.875 kB / 0.6225 GB, free: 360 kB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.007738, allocations: 0 / 0.6225 GB, free: 360 kB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003776/0.008115, allocations: 203.3 kB / 0.6227 GB, free: 140 kB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 5.941e-06/0.008121, allocations: 4 kB / 0.6227 GB, free: 136 kB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.48e-05/0.008136, allocations: 4 kB / 0.6227 GB, free: 132 kB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001151/0.008251, allocations: 19.92 kB / 0.6227 GB, free: 112 kB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.894e-05/0.00829, allocations: 3.984 kB / 0.6227 GB, free: 108 kB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.356e-06/0.008293, allocations: 0 / 0.6227 GB, free: 108 kB / 0.5294 GB Notification: Performance of sorting global known variables: time 4.752e-05/0.008341, allocations: 87.28 kB / 0.6228 GB, free: 20 kB / 0.5294 GB Notification: Performance of sort global known variables: time 1e-07/0.008341, allocations: 0 / 0.6228 GB, free: 20 kB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002144/0.008555, allocations: 8 kB / 0.6228 GB, free: 12 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.0001082/0.008663, allocations: 99.23 kB / 0.6229 GB, free: 15.91 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003451/0.009009, allocations: 67.86 kB / 0.6229 GB, free: 15.84 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.00901, allocations: 4 kB / 0.6229 GB, free: 15.84 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.00015/0.00916, allocations: 31.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.0002689/0.009429, allocations: 19.98 kB / 0.623 GB, free: 15.79 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002885/0.009717, allocations: 120 kB / 0.6231 GB, free: 15.64 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.562e-05/0.009773, allocations: 67.28 kB / 0.6232 GB, free: 15.56 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.407e-05/0.009797, allocations: 0 / 0.6232 GB, free: 15.56 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.843e-05/0.009836, allocations: 12.5 kB / 0.6232 GB, free: 15.55 MB / 0.545 GB Notification: Performance of SimCode: time 7.51e-07/0.009836, allocations: 0 / 0.6232 GB, free: 15.55 MB / 0.545 GB Notification: Performance of Templates: time 0.002987/0.01282, allocations: 0.7272 MB / 0.6239 GB, free: 14.84 MB / 0.545 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Subtract.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Subtract.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Subtract.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Subtract.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Subtract.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Subtract -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Subtract.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.700981885194778] Failed to read output from testmodel.py, exit status != 0: 0.020244572311639786 0.034206159 0.027949894000000003 Calling exit ...