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.001404/0.001404, allocations: 78.56 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.001428/0.001428, allocations: 163.6 kB / 22.46 MB, free: 5.367 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.387/1.387, 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.169/1.169, allocations: 154.7 MB / 413.9 MB, free: 5.137 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 3.126e-06/3.126e-06, allocations: 0 / 0.6188 GB, free: 4.484 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.368e-05/2.68e-05, allocations: 6.219 kB / 0.6188 GB, free: 4.477 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Subtract): time 0.00167/0.001697, allocations: 0.6772 MB / 0.6195 GB, free: 3.812 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0011/0.002798, allocations: 0.8276 MB / 0.6203 GB, free: 2.973 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.63e-05/0.002834, allocations: 0.5625 kB / 0.6203 GB, free: 2.973 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.733e-05/0.002861, allocations: 3.938 kB / 0.6203 GB, free: 2.969 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 6.507e-05/0.002926, allocations: 13.91 kB / 0.6203 GB, free: 2.957 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 6.177e-05/0.002988, allocations: 15.98 kB / 0.6203 GB, free: 2.941 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 8.387e-05/0.003072, allocations: 43.86 kB / 0.6204 GB, free: 2.898 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001106/0.003182, allocations: 11.98 kB / 0.6204 GB, free: 2.887 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 8.637e-05/0.003269, allocations: 27.92 kB / 0.6204 GB, free: 2.859 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 4.338e-05/0.003312, allocations: 15.92 kB / 0.6204 GB, free: 2.844 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.222e-05/0.003334, allocations: 4 kB / 0.6204 GB, free: 2.84 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 1.017e-05/0.003345, allocations: 4 kB / 0.6204 GB, free: 2.836 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 2.37e-05/0.003368, allocations: 11.92 kB / 0.6204 GB, free: 2.824 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.781e-05/0.003396, allocations: 11.98 kB / 0.6204 GB, free: 2.812 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 9.854e-05/0.003495, allocations: 43.86 kB / 0.6205 GB, free: 2.77 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 1.763e-06/0.003496, allocations: 0 / 0.6205 GB, free: 2.77 MB / 0.5294 GB Notification: Performance of FrontEnd: time 5.21e-07/0.003497, allocations: 0 / 0.6205 GB, free: 2.77 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 9.357e-06/0.003506, 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.0005257/0.004032, allocations: 294.2 kB / 0.6208 GB, free: 2.449 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.656e-05/0.004069, allocations: 12.03 kB / 0.6208 GB, free: 2.438 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.132e-05/0.00411, allocations: 4.891 kB / 0.6208 GB, free: 2.434 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001302/0.00424, allocations: 113.7 kB / 0.6209 GB, free: 2.297 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.533e-05/0.004255, allocations: 4.375 kB / 0.6209 GB, free: 2.293 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.356e-05/0.004269, allocations: 4.375 kB / 0.6209 GB, free: 2.289 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002439/0.004513, allocations: 66.22 kB / 0.621 GB, free: 2.219 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.528e-06/0.004522, allocations: 192 / 0.621 GB, free: 2.219 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.628e-06/0.004532, allocations: 4.375 kB / 0.621 GB, free: 2.215 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.631e-06/0.004538, allocations: 8.359 kB / 0.621 GB, free: 2.207 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002709/0.004809, allocations: 63.86 kB / 0.621 GB, free: 2.145 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003556/0.005164, allocations: 208.6 kB / 0.6212 GB, free: 1.91 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001975/0.005362, allocations: 58.47 kB / 0.6213 GB, free: 1.844 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001538/0.005516, allocations: 40.92 kB / 0.6213 GB, free: 1.801 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.457e-05/0.00553, allocations: 4 kB / 0.6213 GB, free: 1.797 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.956e-05/0.00556, allocations: 34.55 kB / 0.6214 GB, free: 1.754 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=3): time 1.373e-06/0.005561, allocations: 0 / 0.6214 GB, free: 1.754 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3): time 0.0005382/0.006099, allocations: 133.5 kB / 0.6215 GB, free: 1.617 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.747e-05/0.006147, allocations: 51.41 kB / 0.6215 GB, free: 1.555 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001042/0.006251, allocations: 117.8 kB / 0.6217 GB, free: 1.43 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.804e-05/0.006269, allocations: 25.7 kB / 0.6217 GB, free: 1.398 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 6.072e-05/0.00633, allocations: 88.12 kB / 0.6218 GB, free: 1.309 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.766e-05/0.006357, allocations: 15.84 kB / 0.6218 GB, free: 1.293 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.34e-05/0.006391, allocations: 9.719 kB / 0.6218 GB, free: 1.277 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001559/0.006547, allocations: 318.8 kB / 0.6221 GB, free: 0.957 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001437/0.00669, allocations: 31.95 kB / 0.6221 GB, free: 0.9258 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001263/0.006817, allocations: 35.97 kB / 0.6222 GB, free: 0.8906 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002623/0.007079, allocations: 64.78 kB / 0.6222 GB, free: 0.8242 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.007081, allocations: 0 / 0.6222 GB, free: 0.8242 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.00031/0.007391, allocations: 105.5 kB / 0.6223 GB, free: 0.7148 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.18e-05/0.007413, allocations: 11.94 kB / 0.6223 GB, free: 0.7031 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.099e-06/0.007418, allocations: 0 / 0.6223 GB, free: 0.7031 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.062e-05/0.007438, allocations: 0 / 0.6223 GB, free: 0.7031 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001267/0.007565, allocations: 19.91 kB / 0.6223 GB, free: 0.6836 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.232e-06/0.007571, allocations: 0 / 0.6223 GB, free: 0.6836 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.23e-05/0.007644, allocations: 11.98 kB / 0.6224 GB, free: 0.6719 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.265e-06/0.007652, allocations: 0 / 0.6224 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 0.0001041/0.007756, allocations: 119.7 kB / 0.6225 GB, free: 0.5469 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.796e-05/0.007784, allocations: 7.953 kB / 0.6225 GB, free: 0.5391 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.271e-05/0.007817, allocations: 7.938 kB / 0.6225 GB, free: 0.5234 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.007818, allocations: 0 / 0.6225 GB, free: 0.5234 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.59e-06/0.007824, allocations: 0 / 0.6225 GB, free: 0.5234 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.971e-06/0.00783, allocations: 3.984 kB / 0.6225 GB, free: 0.5195 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000161/0.007991, allocations: 113.3 kB / 0.6226 GB, free: 388 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.007992, allocations: 0 / 0.6226 GB, free: 388 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000101/0.008093, allocations: 15.98 kB / 0.6226 GB, free: 372 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.008095, allocations: 0 / 0.6226 GB, free: 372 kB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.906e-06/0.008104, allocations: 4 kB / 0.6226 GB, free: 368 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.13e-06/0.008109, allocations: 7.938 kB / 0.6226 GB, free: 360 kB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.00811, allocations: 0 / 0.6226 GB, free: 360 kB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003994/0.008509, allocations: 199.7 kB / 0.6228 GB, free: 144 kB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 9.979e-06/0.008519, allocations: 3.984 kB / 0.6228 GB, free: 140 kB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.845e-05/0.008538, allocations: 4 kB / 0.6228 GB, free: 136 kB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000108/0.008646, allocations: 19.92 kB / 0.6228 GB, free: 116 kB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.562e-05/0.008701, allocations: 3.984 kB / 0.6228 GB, free: 112 kB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.921e-06/0.008707, allocations: 4 kB / 0.6229 GB, free: 108 kB / 0.5294 GB Notification: Performance of sorting global known variables: time 6.705e-05/0.008774, allocations: 83.28 kB / 0.6229 GB, free: 24 kB / 0.5294 GB Notification: Performance of sort global known variables: time 7e-08/0.008774, allocations: 0 / 0.6229 GB, free: 24 kB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002169/0.008991, allocations: 8 kB / 0.6229 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.0001473/0.009138, allocations: 91.25 kB / 0.623 GB, free: 15.92 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003473/0.009486, allocations: 75.86 kB / 0.6231 GB, free: 15.84 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.009488, allocations: 0 / 0.6231 GB, free: 15.84 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001493/0.009637, allocations: 35.95 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.0003276/0.009965, allocations: 12 kB / 0.6231 GB, free: 15.8 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003725/0.01034, allocations: 124.7 kB / 0.6233 GB, free: 15.65 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.52e-05/0.01041, allocations: 67.34 kB / 0.6233 GB, free: 15.56 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.014e-05/0.01044, allocations: 0 / 0.6233 GB, free: 15.56 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.477e-05/0.01048, allocations: 16.5 kB / 0.6233 GB, free: 15.55 MB / 0.545 GB Notification: Performance of SimCode: time 2.81e-07/0.01048, allocations: 0 / 0.6233 GB, free: 15.55 MB / 0.545 GB Notification: Performance of Templates: time 0.003507/0.01398, allocations: 0.7337 MB / 0.6241 GB, free: 14.83 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.590386470779777] Failed to read output from testmodel.py, exit status != 0: 0.022935111075639725 0.03709624 0.030665167000000004 Calling exit ...