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.001843/0.001843, allocations: 77.55 kB / 19.76 MB, free: 2.027 MB / 14.72 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.00224/0.00224, allocations: 157 kB / 23.01 MB, free: 4.949 MB / 14.72 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.432/1.432, allocations: 177.2 MB / 203.4 MB, free: 8.969 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8008/0.8008, allocations: 101.3 MB / 361.1 MB, free: 9.551 MB / 334.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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 3.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 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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: 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.00208/0.00208, allocations: 62.66 kB / 0.5356 GB, free: 5.285 MB / 446.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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 3.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.1451/0.1472, allocations: 85.89 MB / 0.6195 GB, free: 1.605 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Examples.ModelTime): time 0.001692/0.1489, allocations: 0.602 MB / 0.6201 GB, free: 1.004 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 3.13e-05/0.1489, allocations: 4.406 kB / 0.6201 GB, free: 1 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.612e-05/0.149, allocations: 0 / 0.6201 GB, free: 1 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 2.645e-05/0.149, allocations: 3.938 kB / 0.6201 GB, free: 0.9961 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 5.17e-06/0.149, allocations: 0 / 0.6201 GB, free: 0.9961 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 3.268e-05/0.149, allocations: 4 kB / 0.6201 GB, free: 0.9922 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 5.062e-05/0.1491, allocations: 7.984 kB / 0.6201 GB, free: 0.9844 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 4.579e-05/0.1491, allocations: 0 / 0.6201 GB, free: 0.9844 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 9.698e-06/0.1491, allocations: 0 / 0.6201 GB, free: 0.9844 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 1.487e-05/0.1491, allocations: 0 / 0.6201 GB, free: 0.9844 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.188e-05/0.1492, allocations: 0 / 0.6201 GB, free: 0.9844 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 2.755e-06/0.1492, allocations: 0 / 0.6201 GB, free: 0.9844 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.167e-05/0.1492, allocations: 8 kB / 0.6201 GB, free: 0.9766 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 1.719e-05/0.1492, allocations: 3.938 kB / 0.6201 GB, free: 0.9727 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 4.648e-05/0.1492, allocations: 3.984 kB / 0.6201 GB, free: 0.9688 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.536e-06/0.1492, allocations: 0 / 0.6201 GB, free: 0.9688 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.463e-06/0.1492, allocations: 0 / 0.6201 GB, free: 0.9688 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 4.188e-06/0.1492, allocations: 0 / 0.6201 GB, free: 0.9688 MB / 0.5137 GB 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.0002725/0.1495, allocations: 238.4 kB / 0.6203 GB, free: 0.7031 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.127e-05/0.1495, allocations: 8.031 kB / 0.6203 GB, free: 0.6953 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.023e-05/0.1496, allocations: 0.9375 kB / 0.6203 GB, free: 0.6953 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.04e-05/0.1497, allocations: 110.5 kB / 0.6204 GB, free: 0.5625 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.005e-05/0.1497, allocations: 384 / 0.6204 GB, free: 0.5625 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.021e-05/0.1497, allocations: 4.375 kB / 0.6204 GB, free: 0.5586 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.05e-05/0.1498, allocations: 38.19 kB / 0.6205 GB, free: 0.5156 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.752e-06/0.1498, allocations: 192 / 0.6205 GB, free: 0.5156 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.838e-06/0.1498, allocations: 7.922 kB / 0.6205 GB, free: 0.5078 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.356e-06/0.1498, allocations: 0 / 0.6205 GB, free: 0.5078 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.334e-05/0.1498, allocations: 0 / 0.6205 GB, free: 0.5078 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001121/0.1499, allocations: 101.3 kB / 0.6206 GB, free: 388 kB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 3.982e-05/0.1499, allocations: 14.58 kB / 0.6206 GB, free: 364 kB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.082e-05/0.15, allocations: 8.953 kB / 0.6206 GB, free: 352 kB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 8.777e-06/0.15, allocations: 0 / 0.6206 GB, free: 352 kB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.512e-05/0.15, allocations: 38.5 kB / 0.6206 GB, free: 304 kB / 0.5137 GB Notification: Performance of pre-optimization done (n=1): time 7.11e-07/0.15, allocations: 3.938 kB / 0.6206 GB, free: 300 kB / 0.5137 GB Notification: Performance of matching and sorting (n=1): time 0.0001097/0.1501, allocations: 45.58 kB / 0.6207 GB, free: 248 kB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.749e-05/0.1501, allocations: 55.41 kB / 0.6207 GB, free: 180 kB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.174e-05/0.1502, allocations: 89.86 kB / 0.6208 GB, free: 80 kB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.432e-05/0.1502, allocations: 25.7 kB / 0.6209 GB, free: 48 kB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 4.827e-05/0.1503, allocations: 80.14 kB / 0.6209 GB, free: 15.96 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.315e-05/0.1503, allocations: 0 / 0.6209 GB, free: 15.96 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.862e-05/0.1503, allocations: 13.72 kB / 0.6209 GB, free: 15.95 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001358/0.1505, allocations: 310.8 kB / 0.6212 GB, free: 15.63 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.154e-06/0.1505, allocations: 4.125 kB / 0.6212 GB, free: 15.63 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.271e-06/0.1505, allocations: 7.938 kB / 0.6212 GB, free: 15.62 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.681e-05/0.1505, allocations: 12.8 kB / 0.6213 GB, free: 15.61 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.472e-06/0.1505, allocations: 0 / 0.6213 GB, free: 15.61 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.972e-05/0.1505, allocations: 33.69 kB / 0.6213 GB, free: 15.57 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.222e-05/0.1506, allocations: 8 kB / 0.6213 GB, free: 15.56 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.075e-06/0.1506, allocations: 0 / 0.6213 GB, free: 15.56 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.098e-05/0.1506, allocations: 0 / 0.6213 GB, free: 15.56 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.175e-05/0.1506, allocations: 3.938 kB / 0.6213 GB, free: 15.55 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.467e-06/0.1506, allocations: 4.094 kB / 0.6213 GB, free: 15.55 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.247e-05/0.1506, allocations: 4 kB / 0.6213 GB, free: 15.55 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.487e-06/0.1506, allocations: 0 / 0.6213 GB, free: 15.55 MB / 0.5294 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 7.05e-05/0.1507, allocations: 109.8 kB / 0.6214 GB, free: 15.43 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.42e-06/0.1507, allocations: 0 / 0.6214 GB, free: 15.43 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.949e-06/0.1507, allocations: 3 kB / 0.6214 GB, free: 15.43 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.1e-06/0.1507, allocations: 7.922 kB / 0.6214 GB, free: 15.42 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.595e-06/0.1507, allocations: 4 kB / 0.6214 GB, free: 15.42 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.563e-06/0.1507, allocations: 0 / 0.6214 GB, free: 15.42 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.878e-05/0.1508, allocations: 93.33 kB / 0.6215 GB, free: 15.3 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.41e-07/0.1508, allocations: 4 kB / 0.6215 GB, free: 15.29 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.413e-05/0.1508, allocations: 7.938 kB / 0.6215 GB, free: 15.29 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.203e-06/0.1508, allocations: 0 / 0.6215 GB, free: 15.29 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.807e-06/0.1508, allocations: 0 / 0.6215 GB, free: 15.29 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.865e-06/0.1508, allocations: 4 kB / 0.6215 GB, free: 15.28 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.1508, allocations: 3.938 kB / 0.6215 GB, free: 15.28 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.874e-05/0.1509, allocations: 61.12 kB / 0.6216 GB, free: 15.2 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 3.045e-06/0.1509, allocations: 0 / 0.6216 GB, free: 15.2 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.234e-06/0.1509, allocations: 0 / 0.6216 GB, free: 15.2 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.533e-06/0.1509, allocations: 0 / 0.6216 GB, free: 15.2 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.419e-05/0.1509, allocations: 3.938 kB / 0.6216 GB, free: 15.2 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.176e-06/0.1509, allocations: 8.031 kB / 0.6216 GB, free: 15.19 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 3.917e-05/0.151, allocations: 75.28 kB / 0.6217 GB, free: 15.11 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/0.151, allocations: 3.938 kB / 0.6217 GB, free: 15.11 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0001741/0.1511, allocations: 0 / 0.6217 GB, free: 15.11 MB / 0.5294 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 8.759e-05/0.1512, allocations: 91.25 kB / 0.6218 GB, free: 15.01 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 6.17e-05/0.1513, allocations: 11.92 kB / 0.6218 GB, free: 15 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.1513, allocations: 0 / 0.6218 GB, free: 15 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 6.973e-06/0.1513, allocations: 7.938 kB / 0.6218 GB, free: 14.99 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001208/0.1514, allocations: 8.125 kB / 0.6218 GB, free: 14.98 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001628/0.1516, allocations: 76.81 kB / 0.6219 GB, free: 14.88 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.384e-05/0.1516, allocations: 55.36 kB / 0.6219 GB, free: 14.8 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 8.365e-06/0.1516, allocations: 0 / 0.6219 GB, free: 14.8 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.673e-05/0.1517, allocations: 8.5 kB / 0.6219 GB, free: 14.8 MB / 0.5294 GB Notification: Performance of SimCode: time 2.81e-07/0.1517, allocations: 0 / 0.6219 GB, free: 14.8 MB / 0.5294 GB Notification: Performance of Templates: time 0.001951/0.1536, allocations: 165.2 kB / 0.6221 GB, free: 14.64 MB / 0.5294 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=480 -s ida -lv LOG_STATS > IDEAS_IDEAS.Utilities.Time.Examples.ModelTime.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.144181836978532] Failed to read output from testmodel.py, exit status != 0: 0.16060260706581175 0.176037823 0.023764695000000002 Calling exit ...