Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Time.Examples.ModelTime.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.001248/0.001248, allocations: 77.09 kB / 20.66 MB, free: 3.844 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.001032/0.001032, allocations: 169 kB / 24.06 MB, free: 456 kB / 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.094/1.094, allocations: 177.1 MB / 204.5 MB, free: 5.504 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.8787/0.8787, allocations: 154.6 MB / 415.6 MB, free: 0.5156 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.Utilities.Time.Examples.ModelTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Time.Examples.ModelTime") translateModel(IDEAS.Utilities.Time.Examples.ModelTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Time.Examples.ModelTime") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.823e-06/1.823e-06, allocations: 0 / 0.5215 GB, free: 1.949 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.86e-05/3.043e-05, allocations: 2.859 kB / 0.5215 GB, free: 1.945 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Examples.ModelTime): time 0.001603/0.001633, allocations: 0.6029 MB / 0.5221 GB, free: 1.363 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 5.811e-05/0.001691, allocations: 5.281 kB / 0.5221 GB, free: 1.359 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.583e-05/0.001717, allocations: 0 / 0.5221 GB, free: 1.359 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 3.541e-05/0.001752, allocations: 0.7656 kB / 0.5221 GB, free: 1.359 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 7.313e-06/0.00176, allocations: 1.344 kB / 0.5221 GB, free: 1.359 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 4.37e-05/0.001803, allocations: 4 kB / 0.5221 GB, free: 1.355 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 5.336e-05/0.001857, allocations: 3.984 kB / 0.5221 GB, free: 1.352 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.548e-05/0.001902, allocations: 0 / 0.5221 GB, free: 1.352 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.381e-05/0.001936, allocations: 6.094 kB / 0.5221 GB, free: 1.348 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.486e-05/0.001961, allocations: 0 / 0.5221 GB, free: 1.348 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.196e-05/0.001973, allocations: 1.844 kB / 0.5221 GB, free: 1.348 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.278e-06/0.001977, allocations: 0 / 0.5221 GB, free: 1.348 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.372e-05/0.001991, allocations: 0 / 0.5221 GB, free: 1.348 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 1.375e-05/0.002004, allocations: 0 / 0.5221 GB, free: 1.348 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 5.033e-05/0.002055, allocations: 0 / 0.5221 GB, free: 1.348 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.943e-06/0.002057, allocations: 2.828 kB / 0.5221 GB, free: 1.348 MB / 490.7 MB Notification: Performance of FrontEnd: time 6.61e-07/0.002057, allocations: 0 / 0.5221 GB, free: 1.348 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.799e-06/0.002062, allocations: 4 kB / 0.5221 GB, free: 1.344 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002297/0.002292, allocations: 336.4 kB / 0.5224 GB, free: 0.9766 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.804e-05/0.00233, allocations: 12.06 kB / 0.5224 GB, free: 0.9648 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.177e-05/0.002352, allocations: 4.938 kB / 0.5224 GB, free: 0.9609 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.817e-05/0.00242, allocations: 114 kB / 0.5225 GB, free: 0.8242 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.179e-05/0.002432, allocations: 1.25 kB / 0.5225 GB, free: 0.8242 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.58e-06/0.002437, allocations: 4.375 kB / 0.5225 GB, free: 0.8203 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.255e-05/0.0025, allocations: 27.23 kB / 0.5226 GB, free: 0.7891 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.632e-06/0.002506, allocations: 192 / 0.5226 GB, free: 0.7891 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.36e-06/0.002512, allocations: 384 / 0.5226 GB, free: 0.7891 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.949e-06/0.002517, allocations: 1.344 kB / 0.5226 GB, free: 0.7891 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.108e-05/0.002528, allocations: 7.938 kB / 0.5226 GB, free: 0.7812 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.511e-05/0.002613, allocations: 90.27 kB / 0.5227 GB, free: 0.668 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.081e-05/0.002654, allocations: 27.75 kB / 0.5227 GB, free: 0.6289 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.095e-05/0.002675, allocations: 20.16 kB / 0.5227 GB, free: 0.6055 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.759e-06/0.002679, allocations: 0.875 kB / 0.5227 GB, free: 0.6055 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.913e-05/0.002699, allocations: 33.39 kB / 0.5227 GB, free: 0.5625 MB / 490.7 MB Notification: Performance of pre-optimization done (n=1): time 6.61e-07/0.002699, allocations: 4 kB / 0.5228 GB, free: 0.5586 MB / 490.7 MB Notification: Performance of matching and sorting (n=1): time 9.301e-05/0.002792, allocations: 34.92 kB / 0.5228 GB, free: 0.5195 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.08e-05/0.002823, allocations: 52.17 kB / 0.5228 GB, free: 468 kB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.765e-05/0.002861, allocations: 142.8 kB / 0.523 GB, free: 312 kB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 8.295e-06/0.002869, allocations: 27.48 kB / 0.523 GB, free: 280 kB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.908e-05/0.002898, allocations: 130.8 kB / 0.5231 GB, free: 144 kB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.788e-05/0.002926, allocations: 0 / 0.5231 GB, free: 144 kB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.444e-05/0.00295, allocations: 19.38 kB / 0.5231 GB, free: 116 kB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001327/0.003083, allocations: 0.4883 MB / 0.5236 GB, free: 15.61 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.975e-06/0.003091, allocations: 5.656 kB / 0.5236 GB, free: 15.61 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.09e-06/0.003096, allocations: 0 / 0.5236 GB, free: 15.61 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.72e-05/0.003123, allocations: 11.69 kB / 0.5236 GB, free: 15.59 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.003125, allocations: 0 / 0.5236 GB, free: 15.59 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.363e-05/0.003169, allocations: 35.27 kB / 0.5237 GB, free: 15.55 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.563e-05/0.003184, allocations: 8 kB / 0.5237 GB, free: 15.55 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.00319, allocations: 0 / 0.5237 GB, free: 15.55 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.235e-06/0.003198, allocations: 0.75 kB / 0.5237 GB, free: 15.55 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.475e-05/0.003243, allocations: 3.938 kB / 0.5237 GB, free: 15.54 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.595e-06/0.003246, allocations: 1.469 kB / 0.5237 GB, free: 15.54 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.608e-06/0.003255, allocations: 4 kB / 0.5237 GB, free: 15.54 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.687e-06/0.003259, allocations: 0 / 0.5237 GB, free: 15.54 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 (1): * Single equations (assignments): 1 * 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.462e-05/0.003323, allocations: 164.5 kB / 0.5238 GB, free: 15.37 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.819e-06/0.003328, allocations: 1.219 kB / 0.5238 GB, free: 15.37 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.503e-05/0.003343, allocations: 6.594 kB / 0.5238 GB, free: 15.36 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.282e-06/0.003345, allocations: 1.094 kB / 0.5238 GB, free: 15.36 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.523e-06/0.003346, allocations: 4 kB / 0.5239 GB, free: 15.36 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.906e-06/0.003349, allocations: 0 / 0.5239 GB, free: 15.36 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.377e-05/0.003403, allocations: 96.11 kB / 0.5239 GB, free: 15.24 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.003404, allocations: 0 / 0.5239 GB, free: 15.24 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.332e-06/0.003411, allocations: 4 kB / 0.5239 GB, free: 15.24 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.51e-07/0.003411, allocations: 0 / 0.5239 GB, free: 15.24 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.875e-06/0.003414, allocations: 0 / 0.5239 GB, free: 15.24 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.21e-07/0.003415, allocations: 0 / 0.5239 GB, free: 15.24 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.003415, allocations: 0 / 0.5239 GB, free: 15.24 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.632e-05/0.003482, allocations: 87.02 kB / 0.524 GB, free: 15.13 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 5.921e-06/0.003488, allocations: 4 kB / 0.524 GB, free: 15.13 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.861e-06/0.003493, allocations: 0 / 0.524 GB, free: 15.13 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.526e-06/0.003497, allocations: 0 / 0.524 GB, free: 15.13 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.145e-05/0.003508, allocations: 0 / 0.524 GB, free: 15.13 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.174e-06/0.003511, allocations: 4 kB / 0.524 GB, free: 15.12 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.607e-05/0.003547, allocations: 119.2 kB / 0.5242 GB, free: 15.01 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6e-08/0.003547, allocations: 0 / 0.5242 GB, free: 15.01 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001111/0.003658, allocations: 0.75 kB / 0.5242 GB, free: 15.01 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 (1): * Single equations (assignments): 1 * 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 7.356e-05/0.003731, allocations: 96.33 kB / 0.5242 GB, free: 14.91 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 5.94e-05/0.003791, allocations: 11.69 kB / 0.5243 GB, free: 14.89 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.302e-06/0.003792, allocations: 4.719 kB / 0.5243 GB, free: 14.89 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 6.563e-06/0.003799, allocations: 9.125 kB / 0.5243 GB, free: 14.88 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.369e-05/0.003892, allocations: 9.906 kB / 0.5243 GB, free: 14.87 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001615/0.004054, allocations: 91.83 kB / 0.5244 GB, free: 14.75 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.937e-05/0.004083, allocations: 56.75 kB / 0.5244 GB, free: 14.67 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 1.121e-05/0.004094, allocations: 0 / 0.5244 GB, free: 14.67 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.168e-05/0.004126, allocations: 70.2 kB / 0.5245 GB, free: 14.6 MB / 0.4948 GB Notification: Performance of SimCode: time 7.91e-07/0.004127, allocations: 0 / 0.5245 GB, free: 14.6 MB / 0.4948 GB Notification: Performance of Templates: time 0.001531/0.005658, allocations: 202.3 kB / 0.5247 GB, free: 14.41 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Utilities.Time.Examples.ModelTime.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Utilities.Time.Examples.ModelTime.pipe ; mkfifo IDEAS_IDEAS.Utilities.Time.Examples.ModelTime.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Time.Examples.ModelTime.pipe >> ../files/IDEAS_IDEAS.Utilities.Time.Examples.ModelTime.sim & ./IDEAS_IDEAS.Utilities.Time.Examples.ModelTime -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Time.Examples.ModelTime.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.8668019878678024]