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.0009643/0.0009643, allocations: 100.4 kB / 19.7 MB, free: 452 kB / 13.93 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.001168/0.001168, allocations: 212.6 kB / 23 MB, free: 2.98 MB / 13.93 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 0.9483/0.9483, allocations: 230.6 MB / 256.8 MB, free: 9.625 MB / 202.7 MB " [Timeout remaining time 179] 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 0.7601/0.7601, allocations: 203.5 MB / 0.5046 GB, free: 10.76 MB / 410.7 MB " [Timeout remaining time 179] 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: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0008713/0.0008713, allocations: 69.8 kB / 0.7191 GB, free: 3.91 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4664/0.4673, allocations: 102 MB / 0.8186 GB, free: 1.547 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Subtract): time 0.001466/0.4688, allocations: 0.6896 MB / 0.8193 GB, free: 1.117 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0007178/0.4695, allocations: 0.8245 MB / 0.8201 GB, free: 0.4961 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.733e-05/0.4695, allocations: 0 / 0.8201 GB, free: 0.4961 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.291e-05/0.4695, allocations: 7.844 kB / 0.8201 GB, free: 0.4922 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 6.121e-05/0.4696, allocations: 8.688 kB / 0.8201 GB, free: 496 kB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 6.335e-05/0.4697, allocations: 8.5 kB / 0.8201 GB, free: 492 kB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 8.122e-05/0.4697, allocations: 46.53 kB / 0.8202 GB, free: 472 kB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001172/0.4699, allocations: 5.484 kB / 0.8202 GB, free: 468 kB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 6.724e-05/0.4699, allocations: 26.03 kB / 0.8202 GB, free: 452 kB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.12e-05/0.47, allocations: 18.33 kB / 0.8202 GB, free: 444 kB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.481e-05/0.47, allocations: 3.344 kB / 0.8202 GB, free: 444 kB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 7.404e-06/0.47, allocations: 4.969 kB / 0.8202 GB, free: 444 kB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.787e-05/0.47, allocations: 10.28 kB / 0.8203 GB, free: 436 kB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.875e-05/0.47, allocations: 14.67 kB / 0.8203 GB, free: 428 kB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 9.617e-05/0.4701, allocations: 41.62 kB / 0.8203 GB, free: 412 kB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.4701, allocations: 2.438 kB / 0.8203 GB, free: 412 kB / 0.6042 GB Notification: Performance of FrontEnd: time 2.305e-06/0.4701, allocations: 0.7031 kB / 0.8203 GB, free: 412 kB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.592e-06/0.4701, allocations: 0 / 0.8203 GB, free: 412 kB / 0.6042 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.0003546/0.4705, allocations: 292.7 kB / 0.8206 GB, free: 128 kB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.725e-05/0.4705, allocations: 7.734 kB / 0.8206 GB, free: 128 kB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.22e-05/0.4706, allocations: 9.547 kB / 0.8206 GB, free: 124 kB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.289e-05/0.4707, allocations: 113 kB / 0.8207 GB, free: 15.99 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.261e-05/0.4707, allocations: 3.594 kB / 0.8207 GB, free: 15.99 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.177e-06/0.4707, allocations: 384 / 0.8207 GB, free: 15.99 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001844/0.4709, allocations: 72.78 kB / 0.8208 GB, free: 15.95 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.578e-06/0.4709, allocations: 4.188 kB / 0.8208 GB, free: 15.94 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.189e-05/0.4709, allocations: 3.938 kB / 0.8208 GB, free: 15.94 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-06/0.4709, allocations: 1.062 kB / 0.8208 GB, free: 15.94 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000163/0.4711, allocations: 69.02 kB / 0.8209 GB, free: 15.93 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003408/0.4714, allocations: 205.1 kB / 0.8211 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000138/0.4715, allocations: 58.66 kB / 0.8211 GB, free: 15.68 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.107e-05/0.4716, allocations: 49.84 kB / 0.8212 GB, free: 15.66 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.356e-05/0.4716, allocations: 0.6562 kB / 0.8212 GB, free: 15.66 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.376e-05/0.4717, allocations: 34.5 kB / 0.8212 GB, free: 15.62 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=3): time 9.72e-07/0.4717, allocations: 3.938 kB / 0.8212 GB, free: 15.61 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3): time 0.0003428/0.472, allocations: 129.1 kB / 0.8213 GB, free: 15.57 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.936e-05/0.472, allocations: 51.41 kB / 0.8214 GB, free: 15.5 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.571e-05/0.4721, allocations: 118.1 kB / 0.8215 GB, free: 15.39 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.191e-05/0.4721, allocations: 26.36 kB / 0.8215 GB, free: 15.36 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.696e-05/0.4722, allocations: 85.36 kB / 0.8216 GB, free: 15.28 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.065e-05/0.4722, allocations: 16.11 kB / 0.8216 GB, free: 15.27 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.539e-05/0.4722, allocations: 10.33 kB / 0.8216 GB, free: 15.25 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.053e-05/0.4723, allocations: 318.2 kB / 0.8219 GB, free: 14.93 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.38e-05/0.4724, allocations: 34.88 kB / 0.822 GB, free: 14.93 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.173e-05/0.4724, allocations: 31.33 kB / 0.822 GB, free: 14.92 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001484/0.4726, allocations: 70.72 kB / 0.8221 GB, free: 14.9 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.4726, allocations: 0 / 0.8221 GB, free: 14.9 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001824/0.4728, allocations: 102.2 kB / 0.8221 GB, free: 14.86 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.548e-05/0.4728, allocations: 7.047 kB / 0.8222 GB, free: 14.86 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.4728, allocations: 0 / 0.8222 GB, free: 14.86 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.531e-05/0.4728, allocations: 0 / 0.8222 GB, free: 14.86 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.844e-05/0.4729, allocations: 17.95 kB / 0.8222 GB, free: 14.86 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.512e-06/0.4729, allocations: 4.062 kB / 0.8222 GB, free: 14.85 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.759e-05/0.4729, allocations: 13.48 kB / 0.8222 GB, free: 14.85 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.112e-06/0.473, allocations: 8 kB / 0.8222 GB, free: 14.84 MB / 0.6198 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 6.111e-05/0.473, allocations: 113.1 kB / 0.8223 GB, free: 14.73 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.309e-05/0.473, allocations: 11.83 kB / 0.8223 GB, free: 14.71 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.282e-05/0.4731, allocations: 6.906 kB / 0.8223 GB, free: 14.71 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.4731, allocations: 0 / 0.8223 GB, free: 14.71 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.279e-06/0.4731, allocations: 1.031 kB / 0.8223 GB, free: 14.71 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.4731, allocations: 336 / 0.8223 GB, free: 14.71 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001006/0.4732, allocations: 113.3 kB / 0.8224 GB, free: 14.58 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.923e-06/0.4732, allocations: 0.75 kB / 0.8224 GB, free: 14.58 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.296e-05/0.4732, allocations: 18.42 kB / 0.8225 GB, free: 14.57 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.193e-06/0.4732, allocations: 4 kB / 0.8225 GB, free: 14.57 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.635e-06/0.4732, allocations: 7.703 kB / 0.8225 GB, free: 14.57 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.4732, allocations: 0.7969 kB / 0.8225 GB, free: 14.57 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.4732, allocations: 0 / 0.8225 GB, free: 14.57 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000211/0.4734, allocations: 188.9 kB / 0.8226 GB, free: 14.43 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 9.428e-06/0.4734, allocations: 13.23 kB / 0.8227 GB, free: 14.42 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.889e-06/0.4735, allocations: 3.938 kB / 0.8227 GB, free: 14.41 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.881e-05/0.4735, allocations: 14.17 kB / 0.8227 GB, free: 14.41 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.718e-05/0.4735, allocations: 5.234 kB / 0.8227 GB, free: 14.41 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.785e-06/0.4735, allocations: 8.578 kB / 0.8227 GB, free: 14.4 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.412e-05/0.4736, allocations: 86.92 kB / 0.8228 GB, free: 14.32 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.4736, allocations: 0 / 0.8228 GB, free: 14.32 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001404/0.4737, allocations: 6.812 kB / 0.8228 GB, free: 14.32 MB / 0.6198 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.0001006/0.4738, allocations: 93.33 kB / 0.8229 GB, free: 14.24 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002061/0.474, allocations: 70.97 kB / 0.8229 GB, free: 14.23 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.474, allocations: 0 / 0.8229 GB, free: 14.23 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 7.475e-05/0.4741, allocations: 37.94 kB / 0.823 GB, free: 14.22 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002374/0.4743, allocations: 7.281 kB / 0.823 GB, free: 14.22 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002935/0.4746, allocations: 163.5 kB / 0.8231 GB, free: 14.06 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.698e-05/0.4747, allocations: 68.84 kB / 0.8232 GB, free: 13.98 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.056e-05/0.4747, allocations: 9.25 kB / 0.8232 GB, free: 13.98 MB / 0.6198 GB Notification: Performance of SimCode: time 3.21e-07/0.4747, allocations: 0 / 0.8232 GB, free: 13.98 MB / 0.6198 GB Notification: Performance of Templates: time 0.001833/0.4765, allocations: 0.7521 MB / 0.8239 GB, free: 13.93 MB / 0.6198 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.541607860010117] Failed to read output from testmodel.py, exit status != 0: 0.48277449794113636 0.493222464 0.020971226000000003 Calling exit ...