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.002386/0.002386, allocations: 85.48 kB / 19.44 MB, free: 344 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.002995/0.002995, allocations: 173.2 kB / 22.76 MB, free: 1.664 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.591/1.591, allocations: 177.1 MB / 203.1 MB, free: 5.605 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.324/1.324, allocations: 154.6 MB / 414.2 MB, free: 0.6211 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.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.843e-06/1.843e-06, allocations: 3.938 kB / 0.5196 GB, free: 2.586 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.85e-05/3.035e-05, allocations: 4.703 kB / 0.5196 GB, free: 2.582 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Examples.ModelTime): time 0.002587/0.002618, allocations: 0.5937 MB / 0.5202 GB, free: 2.008 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 4.747e-05/0.002665, allocations: 5.25 kB / 0.5202 GB, free: 2.004 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.945e-05/0.002685, allocations: 0 / 0.5202 GB, free: 2.004 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.341e-05/0.002708, allocations: 0 / 0.5202 GB, free: 2.004 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 6.101e-06/0.002714, allocations: 0 / 0.5202 GB, free: 2.004 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 4.898e-05/0.002763, allocations: 1.484 kB / 0.5202 GB, free: 2.004 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 6.03e-05/0.002823, allocations: 5.031 kB / 0.5202 GB, free: 2 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.213e-05/0.002866, allocations: 0 / 0.5202 GB, free: 2 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.878e-05/0.002904, allocations: 0 / 0.5202 GB, free: 2 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.473e-05/0.002929, allocations: 0.875 kB / 0.5202 GB, free: 2 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.362e-05/0.002943, allocations: 0 / 0.5202 GB, free: 2 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.447e-06/0.002946, allocations: 5.656 kB / 0.5202 GB, free: 1.996 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.158e-05/0.002958, allocations: 4 kB / 0.5202 GB, free: 1.992 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 1.667e-05/0.002974, allocations: 0.6875 kB / 0.5202 GB, free: 1.992 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 5.86e-05/0.003033, allocations: 3.984 kB / 0.5202 GB, free: 1.988 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.003039, allocations: 5.234 kB / 0.5202 GB, free: 1.984 MB / 490.7 MB Notification: Performance of FrontEnd: time 6.91e-07/0.00304, allocations: 0 / 0.5202 GB, free: 1.984 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.418e-06/0.003044, allocations: 224 / 0.5202 GB, free: 1.984 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.0004424/0.003486, allocations: 338.2 kB / 0.5205 GB, free: 1.617 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.121e-05/0.003528, allocations: 11.97 kB / 0.5205 GB, free: 1.605 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.229e-05/0.00357, allocations: 4.938 kB / 0.5205 GB, free: 1.602 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001282/0.003698, allocations: 104.6 kB / 0.5206 GB, free: 1.473 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.413e-05/0.003712, allocations: 384 / 0.5206 GB, free: 1.473 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.243e-06/0.003719, allocations: 2.125 kB / 0.5206 GB, free: 1.473 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001031/0.003823, allocations: 34.25 kB / 0.5207 GB, free: 1.434 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.012e-05/0.003833, allocations: 192 / 0.5207 GB, free: 1.434 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.405e-06/0.003841, allocations: 384 / 0.5207 GB, free: 1.434 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.428e-06/0.003845, allocations: 1.125 kB / 0.5207 GB, free: 1.434 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.594e-05/0.003871, allocations: 7.875 kB / 0.5207 GB, free: 1.426 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001958/0.004067, allocations: 114 kB / 0.5208 GB, free: 1.281 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.682e-05/0.004144, allocations: 23.06 kB / 0.5208 GB, free: 1.246 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.951e-05/0.004184, allocations: 11.78 kB / 0.5208 GB, free: 1.23 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.251e-05/0.004196, allocations: 1.344 kB / 0.5208 GB, free: 1.23 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.923e-05/0.004245, allocations: 33.39 kB / 0.5209 GB, free: 1.188 MB / 490.7 MB Notification: Performance of pre-optimization done (n=1): time 1.172e-06/0.004247, allocations: 0 / 0.5209 GB, free: 1.188 MB / 490.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001809/0.004427, allocations: 47.38 kB / 0.5209 GB, free: 1.137 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.762e-05/0.004485, allocations: 51.41 kB / 0.5209 GB, free: 1.074 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001142/0.004599, allocations: 142.2 kB / 0.5211 GB, free: 0.9219 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.738e-05/0.004627, allocations: 25.7 kB / 0.5211 GB, free: 0.8906 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.104e-05/0.004718, allocations: 126.9 kB / 0.5212 GB, free: 0.7617 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.994e-05/0.004748, allocations: 2.188 kB / 0.5212 GB, free: 0.7617 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.646e-05/0.004804, allocations: 19.38 kB / 0.5212 GB, free: 0.7344 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0003554/0.005159, allocations: 0.4883 MB / 0.5217 GB, free: 240 kB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.277e-05/0.005172, allocations: 0 / 0.5217 GB, free: 240 kB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.223e-05/0.005184, allocations: 8 kB / 0.5217 GB, free: 232 kB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.517e-05/0.00522, allocations: 8.219 kB / 0.5217 GB, free: 220 kB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.005222, allocations: 0.5625 kB / 0.5217 GB, free: 220 kB / 490.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.204e-05/0.005314, allocations: 42.62 kB / 0.5218 GB, free: 172 kB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.625e-05/0.00533, allocations: 4 kB / 0.5218 GB, free: 168 kB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.678e-06/0.005335, allocations: 0.5625 kB / 0.5218 GB, free: 168 kB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.617e-05/0.005351, allocations: 0 / 0.5218 GB, free: 168 kB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.729e-05/0.005408, allocations: 5.312 kB / 0.5218 GB, free: 164 kB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.509e-06/0.005413, allocations: 0 / 0.5218 GB, free: 164 kB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.706e-05/0.00543, allocations: 3.938 kB / 0.5218 GB, free: 160 kB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.859e-06/0.005435, allocations: 0.9375 kB / 0.5218 GB, free: 160 kB / 490.7 MB 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 0.0001602/0.005595, allocations: 160.5 kB / 0.5219 GB, free: 15.99 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.768e-06/0.005605, allocations: 7.25 kB / 0.522 GB, free: 15.98 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.944e-05/0.005624, allocations: 3 kB / 0.522 GB, free: 15.98 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.005626, allocations: 0 / 0.522 GB, free: 15.98 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.266e-06/0.005634, allocations: 3.984 kB / 0.522 GB, free: 15.98 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.355e-06/0.005636, allocations: 0 / 0.522 GB, free: 15.98 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001288/0.005765, allocations: 108.6 kB / 0.5221 GB, free: 15.84 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.005766, allocations: 4 kB / 0.5221 GB, free: 15.83 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.398e-05/0.00578, allocations: 0 / 0.5221 GB, free: 15.83 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.903e-06/0.005782, allocations: 0 / 0.5221 GB, free: 15.83 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.8e-06/0.005788, allocations: 3.031 kB / 0.5221 GB, free: 15.83 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.005789, allocations: 0 / 0.5221 GB, free: 15.83 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.00579, allocations: 0 / 0.5221 GB, free: 15.83 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00013/0.00592, allocations: 80.31 kB / 0.5221 GB, free: 15.73 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 4.749e-06/0.005925, allocations: 0 / 0.5221 GB, free: 15.73 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.081e-05/0.005936, allocations: 4 kB / 0.5222 GB, free: 15.73 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.015e-05/0.005946, allocations: 0 / 0.5222 GB, free: 15.73 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.709e-05/0.005963, allocations: 0 / 0.5222 GB, free: 15.73 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.014e-06/0.005965, allocations: 1.5 kB / 0.5222 GB, free: 15.73 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 8.115e-05/0.006046, allocations: 119.2 kB / 0.5223 GB, free: 15.61 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.2e-07/0.006047, allocations: 0 / 0.5223 GB, free: 15.61 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0003087/0.006355, allocations: 0 / 0.5223 GB, free: 15.61 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 0.0001295/0.006485, allocations: 98.34 kB / 0.5224 GB, free: 15.51 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 9.439e-05/0.006579, allocations: 23.61 kB / 0.5224 GB, free: 15.48 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.006581, allocations: 0 / 0.5224 GB, free: 15.48 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 2.401e-05/0.006605, allocations: 11.69 kB / 0.5224 GB, free: 15.46 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001939/0.006799, allocations: 0 / 0.5224 GB, free: 15.46 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002537/0.007052, allocations: 86.39 kB / 0.5225 GB, free: 15.35 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.721e-05/0.007119, allocations: 55.36 kB / 0.5225 GB, free: 15.28 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 1.068e-05/0.00713, allocations: 0 / 0.5225 GB, free: 15.28 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.047e-05/0.007151, allocations: 8.5 kB / 0.5225 GB, free: 15.27 MB / 0.4948 GB Notification: Performance of SimCode: time 4.01e-07/0.007151, allocations: 0 / 0.5225 GB, free: 15.27 MB / 0.4948 GB Notification: Performance of Templates: time 0.002939/0.01009, allocations: 191.8 kB / 0.5227 GB, free: 15.09 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: 6.019489752012305]