Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Modulo.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.001388/0.001388, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.002749/0.002749, allocations: 211 kB / 22.24 MB, free: 4.863 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.59/1.59, allocations: 230.6 MB / 256 MB, free: 7.789 MB / 206.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.37/1.37, allocations: 203.5 MB / 0.5039 GB, free: 4.871 MB / 414.1 MB " [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.Modulo,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Modulo") translateModel(IDEAS.Controls.OBC.CDL.Reals.Validation.Modulo,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Modulo") [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.002205/0.002205, allocations: 68.17 kB / 0.7183 GB, free: 2.262 MB / 0.5762 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6733/0.6755, allocations: 102 MB / 0.8179 GB, free: 29.06 MB / 0.6387 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Modulo): time 0.002038/0.6776, allocations: 0.6783 MB / 0.8186 GB, free: 28.66 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.001141/0.6787, allocations: 0.8932 MB / 0.8194 GB, free: 28 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.437e-05/0.6787, allocations: 1.062 kB / 0.8194 GB, free: 28 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 2.883e-05/0.6788, allocations: 4.641 kB / 0.8194 GB, free: 28 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 7.197e-05/0.6788, allocations: 6.75 kB / 0.8194 GB, free: 27.99 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001884/0.679, allocations: 25.83 kB / 0.8195 GB, free: 27.98 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 8.902e-05/0.6791, allocations: 39.19 kB / 0.8195 GB, free: 27.96 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001159/0.6792, allocations: 14.39 kB / 0.8195 GB, free: 27.95 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 7.63e-05/0.6793, allocations: 19.02 kB / 0.8195 GB, free: 27.95 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 5.473e-05/0.6794, allocations: 17.8 kB / 0.8196 GB, free: 27.94 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 2.173e-05/0.6794, allocations: 3.969 kB / 0.8196 GB, free: 27.94 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 1.525e-05/0.6794, allocations: 5.344 kB / 0.8196 GB, free: 27.94 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 2.303e-05/0.6794, allocations: 14.34 kB / 0.8196 GB, free: 27.93 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 3.447e-05/0.6795, allocations: 18.44 kB / 0.8196 GB, free: 27.91 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.0001139/0.6796, allocations: 36.34 kB / 0.8196 GB, free: 27.9 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.6796, allocations: 5.188 kB / 0.8196 GB, free: 27.9 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.565e-06/0.6796, allocations: 1.062 kB / 0.8196 GB, free: 27.9 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 6.022e-06/0.6796, allocations: 0 / 0.8196 GB, free: 27.9 MB / 0.6387 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.0005154/0.6801, allocations: 288.8 kB / 0.8199 GB, free: 27.63 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.364e-05/0.6801, allocations: 8.969 kB / 0.8199 GB, free: 27.63 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.681e-05/0.6802, allocations: 8.719 kB / 0.8199 GB, free: 27.62 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.534e-05/0.6803, allocations: 111.3 kB / 0.82 GB, free: 27.5 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.36e-05/0.6803, allocations: 2.625 kB / 0.82 GB, free: 27.5 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.206e-05/0.6803, allocations: 2.906 kB / 0.82 GB, free: 27.5 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000266/0.6806, allocations: 69.62 kB / 0.8201 GB, free: 27.46 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.005e-05/0.6806, allocations: 192 / 0.8201 GB, free: 27.46 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.331e-05/0.6806, allocations: 4.453 kB / 0.8201 GB, free: 27.45 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.631e-06/0.6806, allocations: 2.094 kB / 0.8201 GB, free: 27.45 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003019/0.6809, allocations: 73.83 kB / 0.8202 GB, free: 27.44 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003366/0.6812, allocations: 205.4 kB / 0.8204 GB, free: 27.23 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002256/0.6814, allocations: 56.45 kB / 0.8204 GB, free: 27.2 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001671/0.6816, allocations: 42.42 kB / 0.8205 GB, free: 27.18 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 2.853e-05/0.6816, allocations: 1.562 kB / 0.8205 GB, free: 27.18 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.371e-05/0.6817, allocations: 35.44 kB / 0.8205 GB, free: 27.14 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=3): time 1.042e-06/0.6817, allocations: 0.9688 kB / 0.8205 GB, free: 27.14 MB / 0.6387 GB Notification: Performance of matching and sorting (n=3): time 0.0005887/0.6823, allocations: 127.5 kB / 0.8206 GB, free: 27.09 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.819e-05/0.6823, allocations: 52.31 kB / 0.8207 GB, free: 27.03 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.339e-05/0.6824, allocations: 112.3 kB / 0.8208 GB, free: 26.93 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 9.818e-06/0.6824, allocations: 26.64 kB / 0.8208 GB, free: 26.89 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 3.677e-05/0.6824, allocations: 94.72 kB / 0.8209 GB, free: 26.8 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 2.22e-05/0.6824, allocations: 14.08 kB / 0.8209 GB, free: 26.79 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.389e-05/0.6825, allocations: 17.53 kB / 0.8209 GB, free: 26.77 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 5.454e-05/0.6825, allocations: 314 kB / 0.8212 GB, free: 26.46 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001557/0.6827, allocations: 31.19 kB / 0.8213 GB, free: 26.46 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001504/0.6828, allocations: 35.52 kB / 0.8213 GB, free: 26.45 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002884/0.6831, allocations: 68.41 kB / 0.8214 GB, free: 26.43 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.6831, allocations: 0.5 kB / 0.8214 GB, free: 26.43 MB / 0.6387 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003343/0.6834, allocations: 102.7 kB / 0.8215 GB, free: 26.39 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.547e-05/0.6835, allocations: 6.031 kB / 0.8215 GB, free: 26.39 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.069e-06/0.6835, allocations: 1.25 kB / 0.8215 GB, free: 26.39 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.538e-05/0.6835, allocations: 0 / 0.8215 GB, free: 26.39 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001333/0.6836, allocations: 22.69 kB / 0.8215 GB, free: 26.38 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.122e-06/0.6836, allocations: 2.297 kB / 0.8215 GB, free: 26.38 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.287e-05/0.6837, allocations: 11.64 kB / 0.8215 GB, free: 26.38 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.287e-06/0.6837, allocations: 4.594 kB / 0.8215 GB, free: 26.38 MB / 0.6387 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 5.989e-05/0.6838, allocations: 113.7 kB / 0.8216 GB, free: 26.26 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.777e-05/0.6838, allocations: 10.33 kB / 0.8216 GB, free: 26.25 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.155e-05/0.6838, allocations: 14.3 kB / 0.8216 GB, free: 26.24 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.6838, allocations: 0.75 kB / 0.8216 GB, free: 26.24 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.893e-06/0.6838, allocations: 4.5 kB / 0.8216 GB, free: 26.23 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.6838, allocations: 0.6562 kB / 0.8216 GB, free: 26.23 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001171/0.684, allocations: 109.2 kB / 0.8217 GB, free: 26.11 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.684, allocations: 0 / 0.8217 GB, free: 26.11 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000104/0.6841, allocations: 24.2 kB / 0.8218 GB, free: 26.1 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.6841, allocations: 0 / 0.8218 GB, free: 26.1 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.578e-06/0.6841, allocations: 0.8438 kB / 0.8218 GB, free: 26.1 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.6841, allocations: 0.6875 kB / 0.8218 GB, free: 26.1 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.6841, allocations: 0.6562 kB / 0.8218 GB, free: 26.1 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003661/0.6845, allocations: 195.6 kB / 0.822 GB, free: 25.96 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 1.145e-05/0.6845, allocations: 6.203 kB / 0.822 GB, free: 25.95 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.469e-05/0.6845, allocations: 8.719 kB / 0.822 GB, free: 25.95 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001107/0.6846, allocations: 16.62 kB / 0.822 GB, free: 25.94 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.305e-05/0.6846, allocations: 7.641 kB / 0.822 GB, free: 25.94 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.15e-06/0.6846, allocations: 0.625 kB / 0.822 GB, free: 25.94 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 3.378e-05/0.6847, allocations: 89.38 kB / 0.8221 GB, free: 25.86 MB / 0.6387 GB Notification: Performance of sort global known variables: time 8e-08/0.6847, allocations: 0 / 0.8221 GB, free: 25.86 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.000219/0.6849, allocations: 6.188 kB / 0.8221 GB, free: 25.86 MB / 0.6387 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.0001075/0.685, allocations: 92.52 kB / 0.8222 GB, free: 25.77 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0003596/0.6854, allocations: 70.64 kB / 0.8222 GB, free: 25.76 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.6854, allocations: 0.5 kB / 0.8222 GB, free: 25.76 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0001627/0.6855, allocations: 34.78 kB / 0.8223 GB, free: 25.76 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003573/0.6859, allocations: 15.06 kB / 0.8223 GB, free: 25.75 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003423/0.6862, allocations: 125.9 kB / 0.8224 GB, free: 25.63 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.269e-05/0.6863, allocations: 68.64 kB / 0.8225 GB, free: 25.55 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 3.183e-05/0.6863, allocations: 6.281 kB / 0.8225 GB, free: 25.55 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.885e-05/0.6864, allocations: 13.53 kB / 0.8225 GB, free: 25.54 MB / 0.6387 GB Notification: Performance of SimCode: time 3.71e-07/0.6864, allocations: 0.75 kB / 0.8225 GB, free: 25.54 MB / 0.6387 GB Notification: Performance of Templates: time 0.00364/0.69, allocations: 0.7946 MB / 0.8233 GB, free: 25.45 MB / 0.6387 GB " [Timeout remaining time 659] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Modulo.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Modulo.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Modulo.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Modulo.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Modulo.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Modulo -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Modulo.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.065553838387132] Failed to read output from testmodel.py, exit status != 0: 0.6988193821161985 0.712474367 0.029980804000000003 Calling exit ...