Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.Continuous.Examples.OffTimer.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: "" <> buildModelFMU(IDEAS.Controls.Continuous.Examples.OffTimer,fileNamePrefix="IDEAS_IDEAS_Controls_Continuous_Examples_OffTimer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.Continuous.Examples.OffTimer,fileNamePrefix="IDEAS_IDEAS_Controls_Continuous_Examples_OffTimer",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005022/0.005022, allocations: 100.5 kB / 15.73 MB, free: 6.027 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.001124/0.001124, allocations: 187.2 kB / 16.67 MB, free: 5.965 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.273/1.273, allocations: 222.9 MB / 240.4 MB, free: 4.164 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7284/0.7284, allocations: 132.2 MB / 422.7 MB, free: 1.617 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001157/0.001157, allocations: 62.67 kB / 0.5808 GB, free: 1.27 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1487/0.1499, allocations: 80.2 MB / 0.6592 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.OffTimer): time 0.002304/0.1522, allocations: 1.469 MB / 0.6606 GB, free: 12.64 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0006625/0.1529, allocations: 442.9 kB / 0.661 GB, free: 12.2 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.012e-05/0.153, allocations: 0 / 0.661 GB, free: 12.2 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.286e-05/0.1531, allocations: 7.922 kB / 0.661 GB, free: 12.2 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 7.314e-05/0.1531, allocations: 11.94 kB / 0.661 GB, free: 12.18 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001433/0.1533, allocations: 23.91 kB / 0.6611 GB, free: 12.16 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 8.287e-05/0.1534, allocations: 43.91 kB / 0.6611 GB, free: 12.12 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001057/0.1535, allocations: 11.98 kB / 0.6611 GB, free: 12.11 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.107e-05/0.1535, allocations: 23.88 kB / 0.6611 GB, free: 12.08 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.93e-05/0.1536, allocations: 23.89 kB / 0.6611 GB, free: 12.06 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.823e-05/0.1536, allocations: 4 kB / 0.6612 GB, free: 12.05 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.171e-05/0.1536, allocations: 8 kB / 0.6612 GB, free: 12.05 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.224e-05/0.1537, allocations: 11.92 kB / 0.6612 GB, free: 12.04 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 4.168e-05/0.1537, allocations: 27.94 kB / 0.6612 GB, free: 12.01 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 9.979e-05/0.1538, allocations: 50.62 kB / 0.6612 GB, free: 11.96 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.1538, allocations: 0 / 0.6612 GB, free: 11.96 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.443e-06/0.1538, allocations: 0 / 0.6612 GB, free: 11.96 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.648e-06/0.1539, allocations: 0 / 0.6612 GB, free: 11.96 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0004802/0.1543, allocations: 352.3 kB / 0.6616 GB, free: 11.57 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.715e-05/0.1544, allocations: 12.03 kB / 0.6616 GB, free: 11.56 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.461e-05/0.1544, allocations: 30.75 kB / 0.6616 GB, free: 11.52 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.78e-05/0.1545, allocations: 8.844 kB / 0.6616 GB, free: 11.51 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000128/0.1546, allocations: 184.2 kB / 0.6618 GB, free: 11.29 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.251e-05/0.1546, allocations: 4.375 kB / 0.6618 GB, free: 11.29 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.106e-05/0.1546, allocations: 4.375 kB / 0.6618 GB, free: 11.29 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001058/0.1547, allocations: 53.81 kB / 0.6619 GB, free: 11.23 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.895e-06/0.1548, allocations: 4 kB / 0.6619 GB, free: 11.22 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.131e-05/0.1548, allocations: 7.984 kB / 0.6619 GB, free: 11.21 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.848e-06/0.1548, allocations: 0 / 0.6619 GB, free: 11.21 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.692e-05/0.1548, allocations: 27.92 kB / 0.6619 GB, free: 11.19 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004495/0.1553, allocations: 304.7 kB / 0.6622 GB, free: 10.84 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 9.803e-05/0.1554, allocations: 58.59 kB / 0.6623 GB, free: 10.77 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.189e-05/0.1554, allocations: 24.94 kB / 0.6623 GB, free: 10.75 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 9.197e-06/0.1555, allocations: 4 kB / 0.6623 GB, free: 10.74 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000179/0.1556, allocations: 75.33 kB / 0.6624 GB, free: 10.66 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=9): time 1.493e-06/0.1557, allocations: 0 / 0.6624 GB, free: 10.66 MB / 0.4981 GB Notification: Performance of matching and sorting (n=9): time 0.0002055/0.1559, allocations: 97.61 kB / 0.6624 GB, free: 10.55 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.056e-05/0.1559, allocations: 51.41 kB / 0.6625 GB, free: 10.49 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.247e-05/0.156, allocations: 113.8 kB / 0.6626 GB, free: 10.37 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.479e-05/0.156, allocations: 25.7 kB / 0.6626 GB, free: 10.34 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.423e-05/0.1561, allocations: 88.14 kB / 0.6627 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.951e-05/0.1561, allocations: 31.62 kB / 0.6627 GB, free: 10.22 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.099e-05/0.1562, allocations: 29.66 kB / 0.6628 GB, free: 10.18 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.637e-05/0.1563, allocations: 326.7 kB / 0.6631 GB, free: 9.855 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.219e-05/0.1563, allocations: 16 kB / 0.6631 GB, free: 9.84 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.17e-05/0.1564, allocations: 43.42 kB / 0.6631 GB, free: 9.785 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.7e-05/0.1564, allocations: 67.36 kB / 0.6632 GB, free: 9.707 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.1564, allocations: 4 kB / 0.6632 GB, free: 9.703 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001246/0.1566, allocations: 93.84 kB / 0.6633 GB, free: 9.605 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.294e-05/0.1566, allocations: 4 kB / 0.6633 GB, free: 9.602 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.1566, allocations: 4 kB / 0.6633 GB, free: 9.598 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.275e-05/0.1566, allocations: 48 / 0.6633 GB, free: 9.598 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.559e-05/0.1567, allocations: 15.92 kB / 0.6633 GB, free: 9.582 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.204e-06/0.1567, allocations: 4 kB / 0.6633 GB, free: 9.578 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.232e-05/0.1568, allocations: 11.89 kB / 0.6633 GB, free: 9.566 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.805e-06/0.1568, allocations: 7.938 kB / 0.6633 GB, free: 9.559 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,not1.y,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,$whenCondition2,$whenCondition3,offTim1.entryTime,$PRE.offTim1.entryTime,offTim2.entryTime,$PRE.offTim2.entryTime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 12 * 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.711e-05/0.1569, allocations: 122.5 kB / 0.6635 GB, free: 9.43 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.006e-05/0.1569, allocations: 0 / 0.6635 GB, free: 9.43 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.111e-05/0.1569, allocations: 11.97 kB / 0.6635 GB, free: 9.41 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.863e-06/0.1569, allocations: 0 / 0.6635 GB, free: 9.41 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.447e-06/0.1569, allocations: 0 / 0.6635 GB, free: 9.41 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.1569, allocations: 3.984 kB / 0.6635 GB, free: 9.406 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003546/0.1573, allocations: 362.6 kB / 0.6638 GB, free: 8.996 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.1573, allocations: 0 / 0.6638 GB, free: 8.996 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.466e-05/0.1573, allocations: 12 kB / 0.6638 GB, free: 8.984 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.919e-06/0.1574, allocations: 8 kB / 0.6638 GB, free: 8.977 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.043e-06/0.1574, allocations: 0 / 0.6638 GB, free: 8.977 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.836e-06/0.1574, allocations: 3.938 kB / 0.6638 GB, free: 8.973 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.41e-07/0.1574, allocations: 0 / 0.6638 GB, free: 8.973 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001409/0.1575, allocations: 179.5 kB / 0.664 GB, free: 8.781 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.598e-05/0.1576, allocations: 85.02 kB / 0.6641 GB, free: 8.68 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.319e-05/0.1576, allocations: 3.938 kB / 0.6641 GB, free: 8.676 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.32e-05/0.1577, allocations: 19.92 kB / 0.6641 GB, free: 8.656 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.811e-05/0.1577, allocations: 7.984 kB / 0.6641 GB, free: 8.648 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.398e-06/0.1577, allocations: 0 / 0.6641 GB, free: 8.648 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.718e-05/0.1578, allocations: 83.28 kB / 0.6642 GB, free: 8.566 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1578, allocations: 0 / 0.6642 GB, free: 8.566 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002192/0.158, allocations: 12 kB / 0.6642 GB, free: 8.555 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: 7 (not1.y,$whenCondition3,$whenCondition2,$whenCondition1,booleanPulse.pulseStart,offTim1.entryTime,offTim2.entryTime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.000389/0.1584, allocations: 0.7124 MB / 0.6649 GB, free: 7.816 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000122/0.1585, allocations: 51.91 kB / 0.665 GB, free: 7.766 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.1585, allocations: 0 / 0.665 GB, free: 7.766 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 4.926e-05/0.1586, allocations: 28.22 kB / 0.665 GB, free: 7.738 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000271/0.1589, allocations: 20.05 kB / 0.665 GB, free: 7.719 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001169/0.16, allocations: 1.382 MB / 0.6664 GB, free: 6.238 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002178/0.1603, allocations: 0.6893 MB / 0.667 GB, free: 5.523 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.724e-05/0.1603, allocations: 4 kB / 0.667 GB, free: 5.52 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.673e-05/0.1604, allocations: 23.42 kB / 0.6671 GB, free: 5.496 MB / 0.4981 GB Notification: Performance of SimCode: time 7.52e-07/0.1604, allocations: 3.938 kB / 0.6671 GB, free: 5.492 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02219/0.1826, allocations: 1.771 MB / 0.6688 GB, free: 3.82 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.119/7.302, allocations: 6.703 kB / 0.6688 GB, free: 3.82 MB / 0.4981 GB (rm -f IDEAS_IDEAS.Controls.Continuous.Examples.OffTimer.pipe ; mkfifo IDEAS_IDEAS.Controls.Continuous.Examples.OffTimer.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.Continuous.Examples.OffTimer.pipe >> ../files/IDEAS_IDEAS.Controls.Continuous.Examples.OffTimer.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Controls_Continuous_Examples_OffTimer_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Controls_Continuous_Examples_OffTimer.fmu > IDEAS_IDEAS.Controls.Continuous.Examples.OffTimer.pipe 2>&1)