Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Time.Examples.ModelTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IDEAS.Utilities.Time.Examples.ModelTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Time.Examples.ModelTime") translateModel(IDEAS.Utilities.Time.Examples.ModelTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Time.Examples.ModelTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001508/0.001508, allocations: 106.1 kB / 16.41 MB, free: 6.5 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001762/0.001762, allocations: 187 kB / 17.34 MB, free: 5.762 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.302/1.302, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7902/0.7902, allocations: 135.1 MB / 426.3 MB, free: 4.105 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001195/0.001195, allocations: 66.78 kB / 0.5862 GB, free: 21.67 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1375/0.1387, allocations: 80.92 MB / 0.6653 GB, free: 5.848 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Examples.ModelTime): time 0.001614/0.1403, allocations: 0.5856 MB / 0.6658 GB, free: 5.27 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 3.643e-05/0.1404, allocations: 8 kB / 0.6658 GB, free: 5.262 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.726e-05/0.1404, allocations: 0 / 0.6658 GB, free: 5.262 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.791e-05/0.1405, allocations: 3.938 kB / 0.6658 GB, free: 5.258 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.691e-06/0.1405, allocations: 0 / 0.6658 GB, free: 5.258 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 3.224e-05/0.1405, allocations: 0 / 0.6658 GB, free: 5.258 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 4.473e-05/0.1406, allocations: 0 / 0.6658 GB, free: 5.258 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.158e-05/0.1406, allocations: 4 kB / 0.6658 GB, free: 5.254 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.494e-05/0.1406, allocations: 3.984 kB / 0.6658 GB, free: 5.25 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 1.751e-05/0.1407, allocations: 3.938 kB / 0.6659 GB, free: 5.246 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 9.548e-06/0.1407, allocations: 0 / 0.6659 GB, free: 5.246 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 3.496e-06/0.1407, allocations: 4 kB / 0.6659 GB, free: 5.242 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.023e-05/0.1407, allocations: 0 / 0.6659 GB, free: 5.242 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 1.613e-05/0.1407, allocations: 0 / 0.6659 GB, free: 5.242 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 4.859e-05/0.1408, allocations: 7.984 kB / 0.6659 GB, free: 5.234 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.1408, allocations: 0 / 0.6659 GB, free: 5.234 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.172e-06/0.1408, allocations: 0 / 0.6659 GB, free: 5.234 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.789e-06/0.1408, allocations: 4 kB / 0.6659 GB, free: 5.23 MB / 0.4981 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.0002432/0.141, allocations: 307.5 kB / 0.6662 GB, free: 4.879 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.413e-05/0.1411, allocations: 13.14 kB / 0.6662 GB, free: 4.867 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.455e-05/0.1411, allocations: 4.922 kB / 0.6662 GB, free: 4.863 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.763e-05/0.1412, allocations: 172.3 kB / 0.6663 GB, free: 4.656 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.993e-06/0.1412, allocations: 384 / 0.6663 GB, free: 4.656 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.247e-06/0.1412, allocations: 384 / 0.6663 GB, free: 4.656 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.706e-05/0.1413, allocations: 34.2 kB / 0.6664 GB, free: 4.617 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.432e-06/0.1413, allocations: 192 / 0.6664 GB, free: 4.617 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.025e-06/0.1413, allocations: 3.938 kB / 0.6664 GB, free: 4.613 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.438e-06/0.1413, allocations: 0 / 0.6664 GB, free: 4.613 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.711e-05/0.1414, allocations: 4 kB / 0.6664 GB, free: 4.609 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001295/0.1415, allocations: 141.7 kB / 0.6665 GB, free: 4.422 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 3.768e-05/0.1415, allocations: 22.61 kB / 0.6665 GB, free: 4.391 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.262e-05/0.1416, allocations: 8.844 kB / 0.6665 GB, free: 4.379 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 6.342e-06/0.1416, allocations: 4.062 kB / 0.6666 GB, free: 4.375 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.087e-05/0.1416, allocations: 38.5 kB / 0.6666 GB, free: 4.328 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 1.072e-06/0.1416, allocations: 0 / 0.6666 GB, free: 4.328 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0001085/0.1417, allocations: 33.64 kB / 0.6666 GB, free: 4.289 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.98e-05/0.1418, allocations: 59.47 kB / 0.6667 GB, free: 4.219 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.224e-05/0.1418, allocations: 89.86 kB / 0.6668 GB, free: 4.121 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.035e-05/0.1418, allocations: 25.7 kB / 0.6668 GB, free: 4.09 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.111e-05/0.1418, allocations: 80.14 kB / 0.6669 GB, free: 4.008 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.712e-05/0.1419, allocations: 4 kB / 0.6669 GB, free: 4.004 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.376e-05/0.1419, allocations: 13.72 kB / 0.6669 GB, free: 3.984 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.458e-05/0.142, allocations: 315.2 kB / 0.6672 GB, free: 3.668 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.464e-06/0.142, allocations: 0 / 0.6672 GB, free: 3.668 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.292e-06/0.142, allocations: 8 kB / 0.6672 GB, free: 3.66 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.202e-05/0.1421, allocations: 8.797 kB / 0.6672 GB, free: 3.648 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.1421, allocations: 0 / 0.6672 GB, free: 3.648 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.515e-05/0.1421, allocations: 37.7 kB / 0.6672 GB, free: 3.605 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.224e-05/0.1421, allocations: 4 kB / 0.6672 GB, free: 3.602 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.717e-06/0.1421, allocations: 0 / 0.6672 GB, free: 3.602 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.495e-05/0.1422, allocations: 3.938 kB / 0.6672 GB, free: 3.598 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.544e-05/0.1422, allocations: 4 kB / 0.6672 GB, free: 3.594 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.632e-06/0.1422, allocations: 4 kB / 0.6672 GB, free: 3.59 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.181e-05/0.1422, allocations: 4.094 kB / 0.6673 GB, free: 3.586 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.128e-06/0.1422, allocations: 0 / 0.6673 GB, free: 3.586 MB / 0.4981 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.148e-05/0.1423, allocations: 109.8 kB / 0.6674 GB, free: 3.469 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.254e-06/0.1423, allocations: 4 kB / 0.6674 GB, free: 3.465 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.792e-05/0.1423, allocations: 7.062 kB / 0.6674 GB, free: 3.453 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.262e-06/0.1424, allocations: 0 / 0.6674 GB, free: 3.453 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.026e-06/0.1424, allocations: 0 / 0.6674 GB, free: 3.453 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.993e-06/0.1424, allocations: 0 / 0.6674 GB, free: 3.453 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.361e-05/0.1425, allocations: 145.6 kB / 0.6675 GB, free: 3.262 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/0.1425, allocations: 7.984 kB / 0.6675 GB, free: 3.254 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.233e-05/0.1425, allocations: 11.88 kB / 0.6675 GB, free: 3.242 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.664e-06/0.1425, allocations: 0 / 0.6675 GB, free: 3.242 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.801e-06/0.1425, allocations: 3.938 kB / 0.6675 GB, free: 3.238 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.12e-07/0.1425, allocations: 0 / 0.6675 GB, free: 3.238 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.1425, allocations: 0 / 0.6675 GB, free: 3.238 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.815e-05/0.1426, allocations: 57.14 kB / 0.6676 GB, free: 3.164 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.695e-05/0.1426, allocations: 77.11 kB / 0.6677 GB, free: 3.07 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.071e-05/0.1426, allocations: 11.95 kB / 0.6677 GB, free: 3.059 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.536e-06/0.1426, allocations: 0 / 0.6677 GB, free: 3.059 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.227e-05/0.1426, allocations: 3.938 kB / 0.6677 GB, free: 3.055 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.142e-06/0.1427, allocations: 0 / 0.6677 GB, free: 3.055 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.535e-05/0.1427, allocations: 75.28 kB / 0.6677 GB, free: 2.98 MB / 0.4981 GB Notification: Performance of sort global known variables: time 9e-08/0.1427, allocations: 0 / 0.6677 GB, free: 2.98 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001889/0.1429, allocations: 4 kB / 0.6677 GB, free: 2.977 MB / 0.4981 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.403e-05/0.143, allocations: 100.6 kB / 0.6678 GB, free: 2.867 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 5.967e-05/0.143, allocations: 11.94 kB / 0.6679 GB, free: 2.855 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.143, allocations: 0 / 0.6679 GB, free: 2.855 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 6.291e-06/0.1431, allocations: 4 kB / 0.6679 GB, free: 2.852 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000132/0.1432, allocations: 1.875 kB / 0.6679 GB, free: 2.852 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001847/0.1434, allocations: 114.5 kB / 0.668 GB, free: 2.707 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002022/0.1436, allocations: 0.6729 MB / 0.6686 GB, free: 2.008 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.505e-05/0.1436, allocations: 7.438 kB / 0.6686 GB, free: 2 MB / 0.4981 GB Notification: Performance of SimCode: time 3e-07/0.1436, allocations: 0 / 0.6686 GB, free: 2 MB / 0.4981 GB Notification: Performance of Templates: time 0.00127/0.1449, allocations: 328 kB / 0.6689 GB, free: 1.68 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Time.Examples.ModelTime.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Time.Examples.ModelTime.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Time.Examples.ModelTime.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Time.Examples.ModelTime.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Time.Examples.ModelTime.sim & ./IDEAS_dev_IDEAS.Utilities.Time.Examples.ModelTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Time.Examples.ModelTime.pipe 2>&1)