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.0016/0.0016, allocations: 110 kB / 16.41 MB, free: 6.445 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.001268/0.001268, allocations: 185.5 kB / 17.34 MB, free: 5.738 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.414/1.414, 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 1.052/1.052, allocations: 135.2 MB / 426.4 MB, free: 4.074 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001906/0.001906, allocations: 67.48 kB / 0.5863 GB, free: 21.53 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1402/0.1421, allocations: 80.93 MB / 0.6653 GB, free: 5.793 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Examples.ModelTime): time 0.001683/0.1438, allocations: 0.5932 MB / 0.6659 GB, free: 5.207 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 4.327e-05/0.1439, allocations: 4 kB / 0.6659 GB, free: 5.203 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.923e-05/0.1439, allocations: 4 kB / 0.6659 GB, free: 5.199 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.967e-05/0.1439, allocations: 0 / 0.6659 GB, free: 5.199 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 9.608e-06/0.1439, allocations: 0 / 0.6659 GB, free: 5.199 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 4.631e-05/0.144, allocations: 0 / 0.6659 GB, free: 5.199 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 5.012e-05/0.144, allocations: 0 / 0.6659 GB, free: 5.199 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.769e-05/0.1441, allocations: 4 kB / 0.6659 GB, free: 5.195 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.718e-05/0.1441, allocations: 4 kB / 0.6659 GB, free: 5.191 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 2.105e-05/0.1441, allocations: 11.86 kB / 0.6659 GB, free: 5.18 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.013e-05/0.1441, allocations: 0 / 0.6659 GB, free: 5.18 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 3.416e-06/0.1441, allocations: 0 / 0.6659 GB, free: 5.18 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.215e-05/0.1441, allocations: 0 / 0.6659 GB, free: 5.18 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 1.844e-05/0.1441, allocations: 0 / 0.6659 GB, free: 5.18 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 4.803e-05/0.1442, allocations: 3.984 kB / 0.6659 GB, free: 5.176 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.486e-06/0.1442, allocations: 0 / 0.6659 GB, free: 5.176 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.272e-06/0.1442, allocations: 0 / 0.6659 GB, free: 5.176 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.879e-06/0.1442, allocations: 0 / 0.6659 GB, free: 5.176 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.0003081/0.1445, allocations: 315.6 kB / 0.6662 GB, free: 4.816 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.448e-05/0.1445, allocations: 9.141 kB / 0.6662 GB, free: 4.809 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.426e-05/0.1446, allocations: 4.938 kB / 0.6662 GB, free: 4.805 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001273/0.1447, allocations: 168.3 kB / 0.6664 GB, free: 4.602 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.09e-05/0.1447, allocations: 384 / 0.6664 GB, free: 4.602 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.312e-06/0.1447, allocations: 384 / 0.6664 GB, free: 4.602 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.769e-05/0.1448, allocations: 26.27 kB / 0.6664 GB, free: 4.57 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.896e-06/0.1448, allocations: 4.188 kB / 0.6664 GB, free: 4.566 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.777e-06/0.1448, allocations: 3.938 kB / 0.6664 GB, free: 4.562 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.907e-06/0.1448, allocations: 4 kB / 0.6664 GB, free: 4.559 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.321e-05/0.1448, allocations: 0 / 0.6664 GB, free: 4.559 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001546/0.145, allocations: 145.7 kB / 0.6666 GB, free: 4.367 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 4.538e-05/0.145, allocations: 22.55 kB / 0.6666 GB, free: 4.336 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.278e-05/0.1451, allocations: 8.844 kB / 0.6666 GB, free: 4.324 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.013e-05/0.1451, allocations: 0 / 0.6666 GB, free: 4.324 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.419e-05/0.1451, allocations: 38.62 kB / 0.6666 GB, free: 4.277 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 8.62e-07/0.1451, allocations: 0 / 0.6666 GB, free: 4.277 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0001158/0.1452, allocations: 41.58 kB / 0.6667 GB, free: 4.23 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.169e-05/0.1453, allocations: 51.41 kB / 0.6667 GB, free: 4.168 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.994e-05/0.1453, allocations: 89.86 kB / 0.6668 GB, free: 4.07 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.449e-05/0.1453, allocations: 29.64 kB / 0.6668 GB, free: 4.035 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.287e-05/0.1454, allocations: 80.14 kB / 0.6669 GB, free: 3.953 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.859e-05/0.1454, allocations: 3.938 kB / 0.6669 GB, free: 3.949 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.064e-05/0.1455, allocations: 17.84 kB / 0.6669 GB, free: 3.926 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001511/0.1456, allocations: 319.2 kB / 0.6672 GB, free: 3.605 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.045e-06/0.1456, allocations: 0 / 0.6672 GB, free: 3.605 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.053e-06/0.1456, allocations: 4 kB / 0.6673 GB, free: 3.602 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.061e-05/0.1456, allocations: 4.859 kB / 0.6673 GB, free: 3.594 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.1456, allocations: 0 / 0.6673 GB, free: 3.594 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.533e-05/0.1457, allocations: 37.66 kB / 0.6673 GB, free: 3.551 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.192e-05/0.1457, allocations: 4 kB / 0.6673 GB, free: 3.547 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.867e-06/0.1457, allocations: 4.094 kB / 0.6673 GB, free: 3.543 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.324e-05/0.1457, allocations: 3.938 kB / 0.6673 GB, free: 3.539 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.597e-05/0.1458, allocations: 7.875 kB / 0.6673 GB, free: 3.531 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.727e-06/0.1458, allocations: 4 kB / 0.6673 GB, free: 3.527 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.588e-06/0.1458, allocations: 0 / 0.6673 GB, free: 3.527 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.577e-06/0.1458, allocations: 0 / 0.6673 GB, free: 3.527 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 8.595e-05/0.1459, allocations: 113.8 kB / 0.6674 GB, free: 3.406 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.069e-06/0.1459, allocations: 0 / 0.6674 GB, free: 3.406 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.81e-05/0.1459, allocations: 7.062 kB / 0.6674 GB, free: 3.395 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.72e-07/0.1459, allocations: 8 kB / 0.6674 GB, free: 3.387 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.566e-06/0.1459, allocations: 0 / 0.6674 GB, free: 3.387 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.104e-06/0.1459, allocations: 0 / 0.6674 GB, free: 3.387 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001135/0.146, allocations: 145.7 kB / 0.6676 GB, free: 3.195 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.61e-07/0.146, allocations: 0 / 0.6676 GB, free: 3.195 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.338e-05/0.146, allocations: 7.984 kB / 0.6676 GB, free: 3.188 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.372e-06/0.146, allocations: 0 / 0.6676 GB, free: 3.188 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.574e-06/0.146, allocations: 3.938 kB / 0.6676 GB, free: 3.184 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.52e-07/0.146, allocations: 0 / 0.6676 GB, free: 3.184 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.146, allocations: 0 / 0.6676 GB, free: 3.184 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.382e-05/0.1461, allocations: 65.06 kB / 0.6677 GB, free: 3.102 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.976e-05/0.1462, allocations: 81.11 kB / 0.6677 GB, free: 3.004 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.489e-05/0.1462, allocations: 7.922 kB / 0.6677 GB, free: 2.996 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.663e-06/0.1462, allocations: 3.938 kB / 0.6677 GB, free: 2.992 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.436e-06/0.1462, allocations: 0 / 0.6677 GB, free: 2.992 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.192e-06/0.1462, allocations: 0 / 0.6677 GB, free: 2.992 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.257e-05/0.1462, allocations: 75.28 kB / 0.6678 GB, free: 2.918 MB / 0.4981 GB Notification: Performance of sort global known variables: time 6e-08/0.1462, allocations: 0 / 0.6678 GB, free: 2.918 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001895/0.1464, allocations: 8.031 kB / 0.6678 GB, free: 2.91 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.82e-05/0.1465, allocations: 95.25 kB / 0.6679 GB, free: 2.805 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 6.491e-05/0.1466, allocations: 8 kB / 0.6679 GB, free: 2.797 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.332e-06/0.1466, allocations: 0 / 0.6679 GB, free: 2.797 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 4.559e-06/0.1466, allocations: 0 / 0.6679 GB, free: 2.797 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001276/0.1467, allocations: 4 kB / 0.6679 GB, free: 2.793 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002093/0.1469, allocations: 114.6 kB / 0.668 GB, free: 2.648 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003058/0.1472, allocations: 0.6729 MB / 0.6687 GB, free: 1.949 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.753e-05/0.1472, allocations: 7.438 kB / 0.6687 GB, free: 1.941 MB / 0.4981 GB Notification: Performance of SimCode: time 3.01e-07/0.1472, allocations: 0 / 0.6687 GB, free: 1.941 MB / 0.4981 GB Notification: Performance of Templates: time 0.001697/0.1489, allocations: 327.8 kB / 0.669 GB, free: 1.621 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)