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.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/package.mo", uses=false) 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.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_IDEAS.Utilities.Time.Examples.ModelTime") translateModel(IDEAS.Utilities.Time.Examples.ModelTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.00111/0.00111, allocations: 103.7 kB / 16.41 MB, free: 6.008 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.001048/0.001048, allocations: 185.5 kB / 17.34 MB, free: 5.629 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.343/1.343, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7923/0.7923, allocations: 132.2 MB / 423.4 MB, free: 6.555 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001245/0.001245, allocations: 65.78 kB / 0.582 GB, free: 23.77 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1352/0.1365, allocations: 80.21 MB / 0.6603 GB, free: 10.29 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Examples.ModelTime): time 0.001662/0.1382, allocations: 0.5725 MB / 0.6609 GB, free: 9.719 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 3.637e-05/0.1382, allocations: 0 / 0.6609 GB, free: 9.719 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.841e-05/0.1383, allocations: 0 / 0.6609 GB, free: 9.719 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.59e-05/0.1383, allocations: 3.938 kB / 0.6609 GB, free: 9.715 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.542e-06/0.1383, allocations: 4 kB / 0.6609 GB, free: 9.711 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 3.964e-05/0.1384, allocations: 4 kB / 0.6609 GB, free: 9.707 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 4.679e-05/0.1384, allocations: 3.984 kB / 0.6609 GB, free: 9.703 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.478e-05/0.1385, allocations: 4 kB / 0.6609 GB, free: 9.699 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.596e-05/0.1385, allocations: 3.984 kB / 0.6609 GB, free: 9.695 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 1.69e-05/0.1385, allocations: 3.938 kB / 0.6609 GB, free: 9.691 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 8.326e-06/0.1385, allocations: 0 / 0.6609 GB, free: 9.691 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 2.995e-06/0.1385, allocations: 0 / 0.6609 GB, free: 9.691 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 9.858e-06/0.1385, allocations: 0 / 0.6609 GB, free: 9.691 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.003e-05/0.1386, allocations: 0 / 0.6609 GB, free: 9.691 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 4.431e-05/0.1386, allocations: 4 kB / 0.6609 GB, free: 9.688 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.387e-06/0.1386, allocations: 4 kB / 0.6609 GB, free: 9.684 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.422e-06/0.1386, allocations: 0 / 0.6609 GB, free: 9.684 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.178e-06/0.1386, allocations: 0 / 0.6609 GB, free: 9.684 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.0002525/0.1389, allocations: 311.5 kB / 0.6612 GB, free: 9.328 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.497e-05/0.1389, allocations: 12.06 kB / 0.6612 GB, free: 9.316 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.334e-05/0.139, allocations: 0.9375 kB / 0.6612 GB, free: 9.316 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.772e-05/0.1391, allocations: 162.9 kB / 0.6614 GB, free: 9.121 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.639e-06/0.1391, allocations: 384 / 0.6614 GB, free: 9.121 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.728e-06/0.1391, allocations: 384 / 0.6614 GB, free: 9.121 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.083e-05/0.1392, allocations: 38.2 kB / 0.6614 GB, free: 9.078 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.881e-06/0.1392, allocations: 192 / 0.6614 GB, free: 9.078 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.656e-06/0.1392, allocations: 3.938 kB / 0.6614 GB, free: 9.074 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.387e-06/0.1392, allocations: 0 / 0.6614 GB, free: 9.074 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.366e-05/0.1392, allocations: 0 / 0.6614 GB, free: 9.074 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000129/0.1394, allocations: 153.7 kB / 0.6615 GB, free: 8.875 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 3.617e-05/0.1394, allocations: 14.58 kB / 0.6616 GB, free: 8.852 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.196e-05/0.1394, allocations: 16.89 kB / 0.6616 GB, free: 8.832 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 8.046e-06/0.1394, allocations: 0 / 0.6616 GB, free: 8.832 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.376e-05/0.1395, allocations: 34.5 kB / 0.6616 GB, free: 8.789 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 7.22e-07/0.1395, allocations: 3.938 kB / 0.6616 GB, free: 8.785 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0001093/0.1396, allocations: 37.64 kB / 0.6616 GB, free: 8.742 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.052e-05/0.1396, allocations: 51.41 kB / 0.6617 GB, free: 8.68 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.329e-05/0.1397, allocations: 93.84 kB / 0.6618 GB, free: 8.578 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.089e-05/0.1397, allocations: 29.83 kB / 0.6618 GB, free: 8.543 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.244e-05/0.1397, allocations: 84.14 kB / 0.6619 GB, free: 8.457 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.49e-05/0.1398, allocations: 0 / 0.6619 GB, free: 8.457 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.465e-05/0.1398, allocations: 9.719 kB / 0.6619 GB, free: 8.441 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001018/0.1399, allocations: 311.2 kB / 0.6622 GB, free: 8.129 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.021e-05/0.1399, allocations: 8 kB / 0.6622 GB, free: 8.121 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.949e-06/0.1399, allocations: 0 / 0.6622 GB, free: 8.121 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.748e-05/0.14, allocations: 12.8 kB / 0.6622 GB, free: 8.105 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.14, allocations: 8.062 kB / 0.6622 GB, free: 8.098 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.145e-05/0.14, allocations: 29.7 kB / 0.6623 GB, free: 8.062 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.629e-05/0.14, allocations: 9.547 kB / 0.6623 GB, free: 8.055 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.219e-06/0.1401, allocations: 3.984 kB / 0.6623 GB, free: 8.051 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.295e-05/0.1401, allocations: 3.938 kB / 0.6623 GB, free: 8.047 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.994e-05/0.1401, allocations: 4 kB / 0.6623 GB, free: 8.043 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.847e-06/0.1401, allocations: 0 / 0.6623 GB, free: 8.043 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.917e-06/0.1401, allocations: 0 / 0.6623 GB, free: 8.043 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.587e-06/0.1402, allocations: 0 / 0.6623 GB, free: 8.043 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 7.274e-05/0.1402, allocations: 117.9 kB / 0.6624 GB, free: 7.918 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.422e-06/0.1402, allocations: 0 / 0.6624 GB, free: 7.918 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.749e-05/0.1403, allocations: 7.062 kB / 0.6624 GB, free: 7.906 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.352e-06/0.1403, allocations: 0 / 0.6624 GB, free: 7.906 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.067e-06/0.1403, allocations: 0 / 0.6624 GB, free: 7.906 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.1403, allocations: 0 / 0.6624 GB, free: 7.906 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001101/0.1404, allocations: 149.6 kB / 0.6625 GB, free: 7.711 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.929e-06/0.1404, allocations: 4 kB / 0.6625 GB, free: 7.707 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.271e-05/0.1404, allocations: 3.938 kB / 0.6625 GB, free: 7.703 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-06/0.1404, allocations: 0 / 0.6625 GB, free: 7.703 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.963e-06/0.1405, allocations: 7.938 kB / 0.6626 GB, free: 7.695 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.1405, allocations: 0 / 0.6626 GB, free: 7.695 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.1405, allocations: 0 / 0.6626 GB, free: 7.695 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.686e-05/0.1405, allocations: 61.12 kB / 0.6626 GB, free: 7.617 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.473e-05/0.1406, allocations: 81.02 kB / 0.6627 GB, free: 7.52 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.036e-05/0.1406, allocations: 7.875 kB / 0.6627 GB, free: 7.512 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.472e-06/0.1406, allocations: 0 / 0.6627 GB, free: 7.512 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.897e-06/0.1406, allocations: 0 / 0.6627 GB, free: 7.512 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.066e-06/0.1406, allocations: 11.97 kB / 0.6627 GB, free: 7.5 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.325e-05/0.1407, allocations: 75.28 kB / 0.6628 GB, free: 7.426 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1407, allocations: 0 / 0.6628 GB, free: 7.426 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001725/0.1408, allocations: 0 / 0.6628 GB, free: 7.426 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.177e-05/0.1409, allocations: 95.25 kB / 0.6629 GB, free: 7.32 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 6.179e-05/0.141, allocations: 15.92 kB / 0.6629 GB, free: 7.305 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.141, allocations: 0 / 0.6629 GB, free: 7.305 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 6.021e-06/0.141, allocations: 8.062 kB / 0.6629 GB, free: 7.297 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001227/0.1411, allocations: 0 / 0.6629 GB, free: 7.297 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001918/0.1413, allocations: 102.6 kB / 0.663 GB, free: 7.164 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002219/0.1416, allocations: 0.6729 MB / 0.6637 GB, free: 6.465 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.578e-05/0.1416, allocations: 7.438 kB / 0.6637 GB, free: 6.457 MB / 0.4981 GB Notification: Performance of SimCode: time 3e-07/0.1416, allocations: 0 / 0.6637 GB, free: 6.457 MB / 0.4981 GB Notification: Performance of Templates: time 0.001341/0.1429, allocations: 323.9 kB / 0.664 GB, free: 6.141 MB / 0.4981 GB make -j1 -f IDEAS_IDEAS.Utilities.Time.Examples.ModelTime.makefile (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 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Time.Examples.ModelTime.pipe 2>&1)