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.000806/0.000806, allocations: 80.44 kB / 19.9 MB, free: 4.52 MB / 18.57 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.0008565/0.0008565, allocations: 165.9 kB / 23.18 MB, free: 1.246 MB / 18.57 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.9896/0.9896, allocations: 177.2 MB / 203.6 MB, free: 5.781 MB / 186.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.744/0.744, allocations: 154.7 MB / 414.7 MB, free: 0.7617 MB / 378.7 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 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.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.001011/0.001011, allocations: 71.88 kB / 0.6196 GB, free: 13.02 MB / 0.5886 GB [/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. Notification: Performance of FrontEnd - Absyn->SCode: time 0.5582/0.5592, allocations: 101.9 MB / 0.7192 GB, free: 23.6 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Modulo): time 0.00177/0.561, allocations: 0.6718 MB / 0.7198 GB, free: 23.18 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.001035/0.562, allocations: 0.8928 MB / 0.7207 GB, free: 22.52 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.128e-05/0.562, allocations: 1.125 kB / 0.7207 GB, free: 22.52 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 4.227e-05/0.5621, allocations: 3.938 kB / 0.7207 GB, free: 22.52 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 8.353e-05/0.5622, allocations: 9.828 kB / 0.7207 GB, free: 22.51 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002368/0.5624, allocations: 23.81 kB / 0.7207 GB, free: 22.5 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.000106/0.5625, allocations: 48.02 kB / 0.7208 GB, free: 22.47 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001179/0.5626, allocations: 9.781 kB / 0.7208 GB, free: 22.47 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 8.483e-05/0.5627, allocations: 24.33 kB / 0.7208 GB, free: 22.46 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 4.55e-05/0.5628, allocations: 19.25 kB / 0.7208 GB, free: 22.45 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 2.592e-05/0.5628, allocations: 7 kB / 0.7208 GB, free: 22.45 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 1.077e-05/0.5628, allocations: 4.312 kB / 0.7208 GB, free: 22.45 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 1.891e-05/0.5628, allocations: 9.859 kB / 0.7209 GB, free: 22.44 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 2.389e-05/0.5628, allocations: 17.75 kB / 0.7209 GB, free: 22.43 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0001011/0.5629, allocations: 46.09 kB / 0.7209 GB, free: 22.41 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.5629, allocations: 1.438 kB / 0.7209 GB, free: 22.41 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.745e-06/0.5629, allocations: 0 / 0.7209 GB, free: 22.41 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.582e-06/0.563, allocations: 0 / 0.7209 GB, free: 22.41 MB / 0.6355 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.0003956/0.5633, allocations: 287.7 kB / 0.7212 GB, free: 22.13 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.895e-05/0.5634, allocations: 13.97 kB / 0.7212 GB, free: 22.12 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.23e-05/0.5634, allocations: 7.75 kB / 0.7212 GB, free: 22.12 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.998e-05/0.5635, allocations: 111.1 kB / 0.7213 GB, free: 21.99 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.215e-05/0.5635, allocations: 1.75 kB / 0.7213 GB, free: 21.99 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.336e-05/0.5635, allocations: 1.562 kB / 0.7213 GB, free: 21.99 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001825/0.5637, allocations: 73.25 kB / 0.7214 GB, free: 21.95 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.847e-06/0.5637, allocations: 192 / 0.7214 GB, free: 21.95 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.382e-05/0.5637, allocations: 9.469 kB / 0.7214 GB, free: 21.94 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.45e-06/0.5637, allocations: 0 / 0.7214 GB, free: 21.94 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001722/0.5639, allocations: 71.48 kB / 0.7215 GB, free: 21.93 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002975/0.5642, allocations: 206.1 kB / 0.7217 GB, free: 21.71 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001479/0.5644, allocations: 55.16 kB / 0.7217 GB, free: 21.68 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.914e-05/0.5644, allocations: 40.05 kB / 0.7218 GB, free: 21.67 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.905e-05/0.5645, allocations: 5.953 kB / 0.7218 GB, free: 21.66 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.099e-05/0.5645, allocations: 36.36 kB / 0.7218 GB, free: 21.62 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 1.944e-06/0.5645, allocations: 0 / 0.7218 GB, free: 21.62 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0004195/0.5649, allocations: 124.9 kB / 0.7219 GB, free: 21.58 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.177e-05/0.565, allocations: 52.53 kB / 0.722 GB, free: 21.52 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.414e-05/0.565, allocations: 119.9 kB / 0.7221 GB, free: 21.4 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 7.545e-06/0.565, allocations: 25.7 kB / 0.7221 GB, free: 21.37 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.372e-05/0.5651, allocations: 91.69 kB / 0.7222 GB, free: 21.28 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.409e-05/0.5651, allocations: 13.56 kB / 0.7222 GB, free: 21.27 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.827e-05/0.5651, allocations: 14.05 kB / 0.7222 GB, free: 21.25 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 4.195e-05/0.5652, allocations: 317.9 kB / 0.7225 GB, free: 20.94 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.977e-05/0.5653, allocations: 31.38 kB / 0.7226 GB, free: 20.93 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.075e-05/0.5653, allocations: 35.38 kB / 0.7226 GB, free: 20.93 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001681/0.5655, allocations: 70.48 kB / 0.7227 GB, free: 20.91 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.5655, allocations: 1.25 kB / 0.7227 GB, free: 20.91 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002069/0.5657, allocations: 97.86 kB / 0.7227 GB, free: 20.86 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.883e-05/0.5657, allocations: 5.688 kB / 0.7228 GB, free: 20.86 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.5657, allocations: 8.516 kB / 0.7228 GB, free: 20.86 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.732e-05/0.5658, allocations: 0 / 0.7228 GB, free: 20.86 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001099/0.5659, allocations: 16.59 kB / 0.7228 GB, free: 20.86 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.823e-06/0.5659, allocations: 0 / 0.7228 GB, free: 20.86 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.551e-05/0.5659, allocations: 11.92 kB / 0.7228 GB, free: 20.86 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.257e-06/0.5659, allocations: 1.125 kB / 0.7228 GB, free: 20.86 MB / 0.6355 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.569e-05/0.566, allocations: 117.8 kB / 0.7229 GB, free: 20.73 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.5e-05/0.566, allocations: 10.27 kB / 0.7229 GB, free: 20.73 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.502e-05/0.566, allocations: 10.36 kB / 0.7229 GB, free: 20.71 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-06/0.566, allocations: 1.703 kB / 0.7229 GB, free: 20.71 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.113e-06/0.566, allocations: 0 / 0.7229 GB, free: 20.71 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.566, allocations: 4.641 kB / 0.7229 GB, free: 20.71 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001005/0.5661, allocations: 112.2 kB / 0.723 GB, free: 20.58 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.81e-07/0.5661, allocations: 1.25 kB / 0.723 GB, free: 20.58 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.314e-05/0.5662, allocations: 23.42 kB / 0.7231 GB, free: 20.57 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.5662, allocations: 0 / 0.7231 GB, free: 20.57 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.175e-05/0.5662, allocations: 2.031 kB / 0.7231 GB, free: 20.57 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.61e-07/0.5662, allocations: 0 / 0.7231 GB, free: 20.57 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.5662, allocations: 5.156 kB / 0.7231 GB, free: 20.57 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002121/0.5664, allocations: 194.3 kB / 0.7232 GB, free: 20.43 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 1.111e-05/0.5664, allocations: 10.69 kB / 0.7233 GB, free: 20.42 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.25e-05/0.5665, allocations: 1.797 kB / 0.7233 GB, free: 20.42 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.647e-05/0.5665, allocations: 10.83 kB / 0.7233 GB, free: 20.42 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.146e-05/0.5666, allocations: 8.594 kB / 0.7233 GB, free: 20.41 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.86e-06/0.5666, allocations: 1.703 kB / 0.7233 GB, free: 20.41 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 3.566e-05/0.5666, allocations: 91.55 kB / 0.7234 GB, free: 20.33 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5.1e-08/0.5666, allocations: 1.188 kB / 0.7234 GB, free: 20.33 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001464/0.5667, allocations: 5.5 kB / 0.7234 GB, free: 20.33 MB / 0.6355 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.0001026/0.5668, allocations: 97.36 kB / 0.7235 GB, free: 20.24 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002246/0.5671, allocations: 65.77 kB / 0.7235 GB, free: 20.23 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.5671, allocations: 5.125 kB / 0.7235 GB, free: 20.23 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 8.895e-05/0.5672, allocations: 35.12 kB / 0.7236 GB, free: 20.23 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002501/0.5674, allocations: 4.359 kB / 0.7236 GB, free: 20.23 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002805/0.5677, allocations: 133.4 kB / 0.7237 GB, free: 20.1 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.38e-05/0.5677, allocations: 64.23 kB / 0.7238 GB, free: 20.03 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 2.198e-05/0.5678, allocations: 6.25 kB / 0.7238 GB, free: 20.03 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.513e-05/0.5678, allocations: 10.12 kB / 0.7238 GB, free: 20.02 MB / 0.6355 GB Notification: Performance of SimCode: time 5.11e-07/0.5678, allocations: 0 / 0.7238 GB, free: 20.02 MB / 0.6355 GB Notification: Performance of Templates: time 0.002442/0.5702, allocations: 0.7801 MB / 0.7245 GB, free: 19.92 MB / 0.6355 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 -s cvode -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Modulo.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.474791493965313] Failed to read output from testmodel.py, exit status != 0: 0.5771281470078975 0.5934171180000001 0.027198552 Calling exit ...