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.007519/0.007519, allocations: 101 kB / 15.73 MB, free: 6.059 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.002027/0.002027, allocations: 194.4 kB / 16.68 MB, free: 5.969 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.382/1.382, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7969/0.7969, allocations: 132.2 MB / 422.7 MB, free: 6.578 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001808/0.001808, allocations: 61.58 kB / 0.5808 GB, free: 24.02 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1321/0.1339, allocations: 80.21 MB / 0.6592 GB, free: 10.8 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.OffTimer): time 0.002523/0.1365, allocations: 1.458 MB / 0.6606 GB, free: 9.324 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0007313/0.1373, allocations: 446.8 kB / 0.661 GB, free: 8.883 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.987e-05/0.1373, allocations: 0 / 0.661 GB, free: 8.883 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.418e-05/0.1374, allocations: 7.922 kB / 0.661 GB, free: 8.875 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.841e-05/0.1374, allocations: 7.938 kB / 0.661 GB, free: 8.867 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001439/0.1376, allocations: 23.98 kB / 0.661 GB, free: 8.844 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 8.58e-05/0.1377, allocations: 51.83 kB / 0.6611 GB, free: 8.793 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001035/0.1378, allocations: 11.98 kB / 0.6611 GB, free: 8.781 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.155e-05/0.1379, allocations: 19.94 kB / 0.6611 GB, free: 8.762 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.145e-05/0.1379, allocations: 23.91 kB / 0.6611 GB, free: 8.738 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.721e-05/0.1379, allocations: 4 kB / 0.6612 GB, free: 8.734 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.165e-05/0.138, allocations: 4 kB / 0.6612 GB, free: 8.73 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.939e-05/0.138, allocations: 15.92 kB / 0.6612 GB, free: 8.715 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 4.053e-05/0.138, allocations: 19.88 kB / 0.6612 GB, free: 8.695 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001105/0.1382, allocations: 56.03 kB / 0.6612 GB, free: 8.641 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.1382, allocations: 3.984 kB / 0.6612 GB, free: 8.637 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.342e-06/0.1382, allocations: 0 / 0.6612 GB, free: 8.637 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.699e-06/0.1382, allocations: 0 / 0.6612 GB, free: 8.637 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.0005071/0.1387, allocations: 355.4 kB / 0.6616 GB, free: 8.242 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.749e-05/0.1387, allocations: 12.03 kB / 0.6616 GB, free: 8.23 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.002e-05/0.1388, allocations: 30.75 kB / 0.6616 GB, free: 8.191 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.807e-05/0.1388, allocations: 8.891 kB / 0.6616 GB, free: 8.184 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000147/0.139, allocations: 180.3 kB / 0.6618 GB, free: 7.969 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.445e-05/0.139, allocations: 4.359 kB / 0.6618 GB, free: 7.965 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.137e-05/0.139, allocations: 4.375 kB / 0.6618 GB, free: 7.961 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001132/0.1391, allocations: 61.75 kB / 0.6619 GB, free: 7.895 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.296e-06/0.1391, allocations: 0 / 0.6619 GB, free: 7.895 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.091e-05/0.1392, allocations: 4 kB / 0.6619 GB, free: 7.891 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/0.1392, allocations: 0 / 0.6619 GB, free: 7.891 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.155e-05/0.1392, allocations: 23.98 kB / 0.6619 GB, free: 7.867 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004934/0.1397, allocations: 308.7 kB / 0.6622 GB, free: 7.516 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001093/0.1399, allocations: 58.58 kB / 0.6623 GB, free: 7.449 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.291e-05/0.1399, allocations: 24.91 kB / 0.6623 GB, free: 7.422 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.197e-05/0.1399, allocations: 0 / 0.6623 GB, free: 7.422 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001809/0.1401, allocations: 75.41 kB / 0.6623 GB, free: 7.336 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=9): time 1.413e-06/0.1401, allocations: 4 kB / 0.6623 GB, free: 7.332 MB / 0.4981 GB Notification: Performance of matching and sorting (n=9): time 0.0002268/0.1404, allocations: 101.6 kB / 0.6624 GB, free: 7.227 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.005e-05/0.1404, allocations: 55.41 kB / 0.6625 GB, free: 7.16 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.373e-05/0.1405, allocations: 105.8 kB / 0.6626 GB, free: 7.047 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.738e-05/0.1405, allocations: 25.7 kB / 0.6626 GB, free: 7.016 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.239e-05/0.1406, allocations: 92.09 kB / 0.6627 GB, free: 6.922 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.551e-05/0.1406, allocations: 27.77 kB / 0.6627 GB, free: 6.895 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.532e-05/0.1407, allocations: 25.72 kB / 0.6628 GB, free: 6.863 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001294/0.1408, allocations: 322.8 kB / 0.6631 GB, free: 6.539 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.557e-05/0.1408, allocations: 16.38 kB / 0.6631 GB, free: 6.523 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.799e-05/0.1409, allocations: 46.27 kB / 0.6631 GB, free: 6.469 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.973e-05/0.141, allocations: 71.36 kB / 0.6632 GB, free: 6.387 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.141, allocations: 0 / 0.6632 GB, free: 6.387 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001463/0.1412, allocations: 109.4 kB / 0.6633 GB, free: 6.273 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.414e-05/0.1412, allocations: 8 kB / 0.6633 GB, free: 6.266 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.1412, allocations: 0 / 0.6633 GB, free: 6.266 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.309e-05/0.1412, allocations: 0 / 0.6633 GB, free: 6.266 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.978e-05/0.1413, allocations: 8 kB / 0.6633 GB, free: 6.258 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.636e-06/0.1413, allocations: 4 kB / 0.6633 GB, free: 6.254 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.541e-05/0.1414, allocations: 11.94 kB / 0.6633 GB, free: 6.242 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.908e-06/0.1414, allocations: 7.938 kB / 0.6633 GB, free: 6.234 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 9.811e-05/0.1415, allocations: 126.7 kB / 0.6635 GB, free: 6.102 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.186e-05/0.1415, allocations: 4 kB / 0.6635 GB, free: 6.098 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.092e-05/0.1415, allocations: 7.969 kB / 0.6635 GB, free: 6.082 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.1415, allocations: 0 / 0.6635 GB, free: 6.082 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.1416, allocations: 0 / 0.6635 GB, free: 6.082 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.1416, allocations: 288 / 0.6635 GB, free: 6.082 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004208/0.142, allocations: 366.4 kB / 0.6638 GB, free: 5.668 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.142, allocations: 0 / 0.6638 GB, free: 5.668 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.568e-05/0.142, allocations: 4 kB / 0.6638 GB, free: 5.664 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.536e-06/0.142, allocations: 7.984 kB / 0.6638 GB, free: 5.656 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.594e-06/0.1421, allocations: 0 / 0.6638 GB, free: 5.656 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.795e-06/0.1421, allocations: 3.938 kB / 0.6638 GB, free: 5.652 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.1421, allocations: 0 / 0.6638 GB, free: 5.652 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001753/0.1423, allocations: 183.4 kB / 0.664 GB, free: 5.457 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.89e-05/0.1423, allocations: 89 kB / 0.6641 GB, free: 5.352 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.294e-05/0.1423, allocations: 0 / 0.6641 GB, free: 5.352 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.6e-05/0.1424, allocations: 15.92 kB / 0.6641 GB, free: 5.336 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.769e-05/0.1425, allocations: 12.05 kB / 0.6641 GB, free: 5.324 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.762e-06/0.1425, allocations: 4 kB / 0.6641 GB, free: 5.32 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.504e-05/0.1425, allocations: 83.28 kB / 0.6642 GB, free: 5.238 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.914e-06/0.1425, allocations: 192 / 0.6642 GB, free: 5.238 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002209/0.1428, allocations: 15.94 kB / 0.6642 GB, free: 5.223 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.0004703/0.1432, allocations: 0.7202 MB / 0.6649 GB, free: 4.477 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000138/0.1434, allocations: 51.91 kB / 0.665 GB, free: 4.426 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.1434, allocations: 0 / 0.665 GB, free: 4.426 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 5.372e-05/0.1434, allocations: 31.94 kB / 0.665 GB, free: 4.395 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002656/0.1437, allocations: 11.92 kB / 0.665 GB, free: 4.383 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001352/0.1451, allocations: 1.37 MB / 0.6664 GB, free: 2.914 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002966/0.1454, allocations: 0.6924 MB / 0.667 GB, free: 2.195 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.235e-05/0.1454, allocations: 4 kB / 0.667 GB, free: 2.191 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.956e-05/0.1455, allocations: 23.38 kB / 0.6671 GB, free: 2.168 MB / 0.4981 GB Notification: Performance of SimCode: time 4e-07/0.1455, allocations: 0 / 0.6671 GB, free: 2.168 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02196/0.1675, allocations: 1.755 MB / 0.6688 GB, free: 0.5039 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.911/8.078, allocations: 9.547 kB / 0.6688 GB, free: 0.4961 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 & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Controls.Continuous.Examples.OffTimer_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_IDEAS_Controls_Continuous_Examples_OffTimer.fmu > IDEAS_IDEAS.Controls.Continuous.Examples.OffTimer.pipe 2>&1)