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.0008809/0.0008809, allocations: 82.05 kB / 19.87 MB, free: 4.617 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.0009916/0.0009916, allocations: 173.7 kB / 23.28 MB, free: 1.219 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.9069/0.9069, allocations: 177.1 MB / 203.7 MB, free: 5.5 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-545:108: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-545:116: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.7534/0.7534, allocations: 154.6 MB / 414.8 MB, free: 0.5039 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: Performance of FrontEnd - loaded program: time 2.134e-06/2.134e-06, allocations: 0 / 0.5208 GB, free: 1.812 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.029e-05/2.242e-05, allocations: 2.859 kB / 0.5208 GB, free: 1.809 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Modulo): time 0.001287/0.001309, allocations: 0.6846 MB / 0.5215 GB, free: 1.148 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008125/0.002122, allocations: 0.9219 MB / 0.5224 GB, free: 220 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.464e-05/0.002156, allocations: 4.844 kB / 0.5224 GB, free: 216 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.286e-05/0.002179, allocations: 0 / 0.5224 GB, free: 216 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 6.034e-05/0.00224, allocations: 4.844 kB / 0.5224 GB, free: 212 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001285/0.002368, allocations: 19.92 kB / 0.5224 GB, free: 192 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 9.165e-05/0.00246, allocations: 47.84 kB / 0.5225 GB, free: 144 kB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.358e-05/0.002533, allocations: 8.656 kB / 0.5225 GB, free: 136 kB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.537e-05/0.002609, allocations: 32.41 kB / 0.5225 GB, free: 104 kB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.567e-05/0.002644, allocations: 15.97 kB / 0.5225 GB, free: 88 kB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.668e-05/0.002661, allocations: 4.625 kB / 0.5225 GB, free: 84 kB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.414e-06/0.002668, allocations: 4.875 kB / 0.5225 GB, free: 80 kB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.463e-05/0.002683, allocations: 7.938 kB / 0.5225 GB, free: 72 kB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 1.894e-05/0.002702, allocations: 11.98 kB / 0.5226 GB, free: 60 kB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 6.358e-05/0.002766, allocations: 20.91 kB / 0.5226 GB, free: 40 kB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.693e-06/0.002767, allocations: 7.938 kB / 0.5226 GB, free: 32 kB / 490.7 MB Notification: Performance of FrontEnd: time 7.52e-07/0.002768, allocations: 1.75 kB / 0.5226 GB, free: 32 kB / 490.7 MB Notification: Performance of Transformations before backend: time 3.256e-06/0.002771, allocations: 0 / 0.5226 GB, free: 32 kB / 490.7 MB 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.0003113/0.003083, allocations: 376.7 kB / 0.5229 GB, free: 15.62 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.372e-05/0.003116, allocations: 12.03 kB / 0.523 GB, free: 15.61 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.344e-05/0.00314, allocations: 10.64 kB / 0.523 GB, free: 15.6 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.812e-05/0.003208, allocations: 112.6 kB / 0.5231 GB, free: 15.46 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.596e-06/0.003216, allocations: 4.375 kB / 0.5231 GB, free: 15.46 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.683e-06/0.003223, allocations: 384 / 0.5231 GB, free: 15.46 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001053/0.003328, allocations: 71.62 kB / 0.5231 GB, free: 15.38 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.29e-06/0.003334, allocations: 192 / 0.5231 GB, free: 15.38 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.233e-06/0.003341, allocations: 5.766 kB / 0.5232 GB, free: 15.38 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.003346, allocations: 384 / 0.5232 GB, free: 15.38 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.069e-05/0.003366, allocations: 11.94 kB / 0.5232 GB, free: 15.37 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002656/0.003632, allocations: 244.5 kB / 0.5234 GB, free: 15.1 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 4.687e-05/0.003679, allocations: 40.23 kB / 0.5234 GB, free: 15.05 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.477e-05/0.003694, allocations: 7.688 kB / 0.5234 GB, free: 15.04 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.918e-05/0.003713, allocations: 10.14 kB / 0.5235 GB, free: 15.03 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.487e-05/0.003728, allocations: 33.39 kB / 0.5235 GB, free: 14.99 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=3): time 9.22e-07/0.003729, allocations: 0 / 0.5235 GB, free: 14.99 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3): time 0.000106/0.003834, allocations: 45.83 kB / 0.5235 GB, free: 14.94 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.154e-05/0.003856, allocations: 55.39 kB / 0.5236 GB, free: 14.87 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.952e-05/0.003916, allocations: 165.9 kB / 0.5237 GB, free: 14.69 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 8.396e-06/0.003924, allocations: 27.64 kB / 0.5238 GB, free: 14.66 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 4.839e-05/0.003972, allocations: 138.8 kB / 0.5239 GB, free: 14.52 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.541e-05/0.003988, allocations: 11.83 kB / 0.5239 GB, free: 14.51 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.366e-05/0.004011, allocations: 19.38 kB / 0.5239 GB, free: 14.48 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001062/0.004118, allocations: 0.4884 MB / 0.5244 GB, free: 13.98 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.222e-05/0.00413, allocations: 4.562 kB / 0.5244 GB, free: 13.98 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.868e-06/0.00414, allocations: 4.984 kB / 0.5244 GB, free: 13.97 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.686e-05/0.004167, allocations: 19.69 kB / 0.5244 GB, free: 13.95 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.004168, allocations: 0 / 0.5244 GB, free: 13.95 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3) (initialization): time 5.147e-05/0.004219, allocations: 42.52 kB / 0.5245 GB, free: 13.9 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.047e-05/0.00423, allocations: 9.719 kB / 0.5245 GB, free: 13.89 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.206e-06/0.004233, allocations: 1 kB / 0.5245 GB, free: 13.89 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.117e-06/0.004242, allocations: 3.938 kB / 0.5245 GB, free: 13.89 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.935e-05/0.004301, allocations: 19.86 kB / 0.5245 GB, free: 13.87 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.354e-06/0.004304, allocations: 1.031 kB / 0.5245 GB, free: 13.87 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.136e-05/0.004325, allocations: 8 kB / 0.5245 GB, free: 13.86 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.238e-06/0.004329, allocations: 1.531 kB / 0.5245 GB, free: 13.86 MB / 0.4948 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.468e-05/0.004384, allocations: 160.6 kB / 0.5247 GB, free: 13.7 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.274e-05/0.004397, allocations: 0 / 0.5247 GB, free: 13.7 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.241e-05/0.004419, allocations: 12 kB / 0.5247 GB, free: 13.68 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.004421, allocations: 5 kB / 0.5247 GB, free: 13.68 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.312e-06/0.004422, allocations: 0 / 0.5247 GB, free: 13.68 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.174e-06/0.004425, allocations: 0.6875 kB / 0.5247 GB, free: 13.68 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.493e-05/0.00451, allocations: 105.2 kB / 0.5248 GB, free: 13.55 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.00451, allocations: 1.281 kB / 0.5248 GB, free: 13.55 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.363e-05/0.004534, allocations: 8 kB / 0.5248 GB, free: 13.54 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.022e-06/0.004535, allocations: 0 / 0.5248 GB, free: 13.54 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.699e-06/0.00454, allocations: 4.891 kB / 0.5248 GB, free: 13.54 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.01e-07/0.00454, allocations: 0 / 0.5248 GB, free: 13.54 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.004541, allocations: 0 / 0.5248 GB, free: 13.54 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.161e-05/0.004632, allocations: 200.5 kB / 0.525 GB, free: 13.32 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 7.333e-06/0.00464, allocations: 4 kB / 0.525 GB, free: 13.32 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.043e-06/0.004647, allocations: 3.094 kB / 0.525 GB, free: 13.32 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.485e-05/0.004682, allocations: 8 kB / 0.525 GB, free: 13.31 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000158/0.00484, allocations: 11.92 kB / 0.525 GB, free: 13.3 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.556e-06/0.004848, allocations: 4 kB / 0.525 GB, free: 13.3 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.315e-05/0.004881, allocations: 131.5 kB / 0.5251 GB, free: 13.17 MB / 0.4948 GB Notification: Performance of sort global known variables: time 4e-08/0.004882, allocations: 0 / 0.5251 GB, free: 13.17 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001286/0.00501, allocations: 8 kB / 0.5252 GB, free: 13.16 MB / 0.4948 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 6.83e-05/0.005078, allocations: 94.28 kB / 0.5252 GB, free: 13.06 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 5.739e-05/0.005136, allocations: 23.66 kB / 0.5253 GB, free: 13.03 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.112e-06/0.005137, allocations: 0 / 0.5253 GB, free: 13.03 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 1.83e-05/0.005155, allocations: 15.62 kB / 0.5253 GB, free: 13.01 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001676/0.005323, allocations: 12 kB / 0.5253 GB, free: 13 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001991/0.005522, allocations: 135.6 kB / 0.5254 GB, free: 12.84 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.641e-05/0.005548, allocations: 55.36 kB / 0.5255 GB, free: 12.77 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 1.727e-05/0.005566, allocations: 0.5312 kB / 0.5255 GB, free: 12.77 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.763e-05/0.005613, allocations: 74.69 kB / 0.5255 GB, free: 12.69 MB / 0.4948 GB Notification: Performance of SimCode: time 6.31e-07/0.005614, allocations: 10.91 kB / 0.5256 GB, free: 12.68 MB / 0.4948 GB Notification: Performance of Templates: time 0.001959/0.007573, allocations: 0.8591 MB / 0.5264 GB, free: 11.87 MB / 0.4948 GB " [Timeout remaining time 660] 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=240 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Modulo.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.2887973110191524]