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.001428/0.001428, allocations: 88.72 kB / 19.44 MB, free: 352 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.001665/0.001665, allocations: 157.7 kB / 22.75 MB, free: 1.68 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 1.61/1.61, allocations: 177.1 MB / 203.1 MB, free: 5.613 MB / 186.7 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-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 1.245/1.245, allocations: 154.6 MB / 414.2 MB, free: 0.6367 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 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: Performance of FrontEnd - loaded program: time 2.825e-06/2.825e-06, allocations: 0 / 0.5197 GB, free: 2.477 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.45e-05/3.732e-05, allocations: 5.484 kB / 0.5197 GB, free: 2.473 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Modulo): time 0.003613/0.003651, allocations: 0.6861 MB / 0.5204 GB, free: 1.812 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.002517/0.006168, allocations: 0.8822 MB / 0.5212 GB, free: 0.918 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.281e-05/0.00623, allocations: 4 kB / 0.5212 GB, free: 0.9141 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 5.089e-05/0.006281, allocations: 3.938 kB / 0.5212 GB, free: 0.9102 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001036/0.006385, allocations: 11.86 kB / 0.5212 GB, free: 0.8984 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002532/0.006638, allocations: 15.98 kB / 0.5213 GB, free: 0.8828 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001474/0.006785, allocations: 43.84 kB / 0.5213 GB, free: 0.8398 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001354/0.006921, allocations: 8.5 kB / 0.5213 GB, free: 0.832 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001311/0.007052, allocations: 20.52 kB / 0.5213 GB, free: 0.8125 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.529e-05/0.007127, allocations: 19.91 kB / 0.5213 GB, free: 0.793 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 3.006e-05/0.007157, allocations: 8.547 kB / 0.5214 GB, free: 0.7852 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.723e-05/0.007174, allocations: 4.875 kB / 0.5214 GB, free: 0.7812 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 3.567e-05/0.00721, allocations: 8 kB / 0.5214 GB, free: 0.7734 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 4.312e-05/0.007253, allocations: 9.453 kB / 0.5214 GB, free: 0.7656 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001541/0.007407, allocations: 51.75 kB / 0.5214 GB, free: 0.7148 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.056e-06/0.00741, allocations: 0 / 0.5214 GB, free: 0.7148 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.122e-06/0.007412, allocations: 0 / 0.5214 GB, free: 0.7148 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5e-06/0.007417, allocations: 0 / 0.5214 GB, free: 0.7148 MB / 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.0008328/0.008249, allocations: 284.4 kB / 0.5217 GB, free: 416 kB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.404e-05/0.008303, allocations: 12.02 kB / 0.5217 GB, free: 404 kB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.806e-05/0.008371, allocations: 8.891 kB / 0.5217 GB, free: 396 kB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001906/0.008562, allocations: 115.1 kB / 0.5218 GB, free: 256 kB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.524e-05/0.008577, allocations: 384 / 0.5218 GB, free: 256 kB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.888e-05/0.008596, allocations: 4.375 kB / 0.5218 GB, free: 252 kB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004289/0.009025, allocations: 67.03 kB / 0.5219 GB, free: 180 kB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.438e-05/0.009039, allocations: 192 / 0.5219 GB, free: 180 kB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.546e-05/0.009055, allocations: 1.656 kB / 0.5219 GB, free: 180 kB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.981e-06/0.009061, allocations: 384 / 0.5219 GB, free: 180 kB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005924/0.009653, allocations: 73.14 kB / 0.522 GB, free: 108 kB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006326/0.01029, allocations: 213.4 kB / 0.5222 GB, free: 15.87 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003546/0.01064, allocations: 52.28 kB / 0.5222 GB, free: 15.81 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002685/0.01091, allocations: 44.91 kB / 0.5223 GB, free: 15.76 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 3.024e-05/0.01094, allocations: 2.156 kB / 0.5223 GB, free: 15.76 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.106e-05/0.011, allocations: 34.5 kB / 0.5223 GB, free: 15.72 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=3): time 1.583e-06/0.011, allocations: 0 / 0.5223 GB, free: 15.72 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3): time 0.001001/0.012, allocations: 131 kB / 0.5224 GB, free: 15.59 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.794e-05/0.01207, allocations: 59.34 kB / 0.5225 GB, free: 15.52 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001798/0.01225, allocations: 106.8 kB / 0.5226 GB, free: 15.4 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.615e-05/0.01229, allocations: 25.7 kB / 0.5226 GB, free: 15.37 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001059/0.01239, allocations: 97.02 kB / 0.5227 GB, free: 15.27 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 3.005e-05/0.01242, allocations: 3.953 kB / 0.5227 GB, free: 15.27 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.368e-05/0.01249, allocations: 13.72 kB / 0.5227 GB, free: 15.25 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002642/0.01275, allocations: 323.8 kB / 0.523 GB, free: 14.93 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002686/0.01302, allocations: 32.47 kB / 0.5231 GB, free: 14.89 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002754/0.01329, allocations: 33.84 kB / 0.5231 GB, free: 14.86 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005234/0.01382, allocations: 73.61 kB / 0.5232 GB, free: 14.79 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/0.01382, allocations: 1.406 kB / 0.5232 GB, free: 14.79 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0006297/0.01445, allocations: 96.06 kB / 0.5232 GB, free: 14.69 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.312e-05/0.01447, allocations: 7.938 kB / 0.5233 GB, free: 14.68 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.058e-05/0.01448, allocations: 3.984 kB / 0.5233 GB, free: 14.68 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.115e-05/0.01451, allocations: 4 kB / 0.5233 GB, free: 14.68 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002091/0.01471, allocations: 11.98 kB / 0.5233 GB, free: 14.66 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.183e-06/0.01472, allocations: 2.844 kB / 0.5233 GB, free: 14.66 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001541/0.01488, allocations: 19.88 kB / 0.5233 GB, free: 14.64 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.038e-05/0.01489, allocations: 0 / 0.5233 GB, free: 14.64 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 0.0001625/0.01505, allocations: 117.8 kB / 0.5234 GB, free: 14.52 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.192e-05/0.0151, allocations: 4 kB / 0.5234 GB, free: 14.52 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.823e-05/0.01515, allocations: 15.92 kB / 0.5234 GB, free: 14.5 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-06/0.01515, allocations: 0.7188 kB / 0.5234 GB, free: 14.5 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.648e-06/0.01516, allocations: 0 / 0.5234 GB, free: 14.5 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.01516, allocations: 1.25 kB / 0.5234 GB, free: 14.5 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002688/0.01543, allocations: 109.3 kB / 0.5235 GB, free: 14.36 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.043e-06/0.01543, allocations: 0 / 0.5235 GB, free: 14.36 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001811/0.01561, allocations: 18.7 kB / 0.5236 GB, free: 14.35 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.807e-06/0.01562, allocations: 0 / 0.5236 GB, free: 14.35 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.086e-05/0.01563, allocations: 0 / 0.5236 GB, free: 14.35 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.075e-06/0.01563, allocations: 4.25 kB / 0.5236 GB, free: 14.34 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.01564, allocations: 0 / 0.5236 GB, free: 14.34 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007217/0.01636, allocations: 202.2 kB / 0.5237 GB, free: 14.13 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.313e-05/0.01637, allocations: 3.938 kB / 0.5238 GB, free: 14.13 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.558e-05/0.0164, allocations: 4 kB / 0.5238 GB, free: 14.12 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002021/0.0166, allocations: 11.92 kB / 0.5238 GB, free: 14.11 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.458e-05/0.01667, allocations: 15.92 kB / 0.5238 GB, free: 14.1 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.334e-06/0.01668, allocations: 0.9375 kB / 0.5238 GB, free: 14.1 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0001028/0.01678, allocations: 91.25 kB / 0.5239 GB, free: 14.01 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.71e-07/0.01678, allocations: 1.281 kB / 0.5239 GB, free: 14.01 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0004298/0.01721, allocations: 8 kB / 0.5239 GB, free: 14 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 0.0001881/0.0174, allocations: 92.81 kB / 0.524 GB, free: 13.9 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0006074/0.01801, allocations: 68.58 kB / 0.524 GB, free: 13.83 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.01801, allocations: 0 / 0.524 GB, free: 13.83 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0002957/0.01831, allocations: 41.14 kB / 0.5241 GB, free: 13.79 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000527/0.01883, allocations: 12.69 kB / 0.5241 GB, free: 13.78 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000547/0.01938, allocations: 130 kB / 0.5242 GB, free: 13.63 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001083/0.01949, allocations: 63.34 kB / 0.5243 GB, free: 13.55 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 5.916e-05/0.01955, allocations: 12.44 kB / 0.5243 GB, free: 13.54 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.446e-05/0.0196, allocations: 9.062 kB / 0.5243 GB, free: 13.53 MB / 0.4948 GB Notification: Performance of SimCode: time 5.11e-07/0.0196, allocations: 1.062 kB / 0.5243 GB, free: 13.53 MB / 0.4948 GB Notification: Performance of Templates: time 0.005558/0.02516, allocations: 0.7903 MB / 0.5251 GB, free: 12.77 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=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Modulo.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.0442307809134945]