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.001511/0.001511, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002306/0.002306, allocations: 195.7 kB / 16.53 MB, free: 6.664 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.289/1.289, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7256/0.7256, allocations: 132.2 MB / 422.6 MB, free: 1.812 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001285/0.001285, allocations: 60.16 kB / 0.5019 GB, free: 8.699 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1389/0.1402, allocations: 80.2 MB / 0.5802 GB, free: 8.719 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.OffTimer): time 0.002716/0.143, allocations: 1.457 MB / 0.5816 GB, free: 7.242 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007314/0.1437, allocations: 440.6 kB / 0.582 GB, free: 6.809 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.33e-05/0.1438, allocations: 0 / 0.582 GB, free: 6.809 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.594e-05/0.1439, allocations: 7.938 kB / 0.582 GB, free: 6.801 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 7.994e-05/0.144, allocations: 11.92 kB / 0.582 GB, free: 6.789 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001484/0.1441, allocations: 23.91 kB / 0.5821 GB, free: 6.766 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 7.688e-05/0.1442, allocations: 47.86 kB / 0.5821 GB, free: 6.719 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001022/0.1443, allocations: 15.98 kB / 0.5821 GB, free: 6.703 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.5e-05/0.1444, allocations: 27.86 kB / 0.5822 GB, free: 6.676 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.486e-05/0.1444, allocations: 19.91 kB / 0.5822 GB, free: 6.656 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.805e-05/0.1445, allocations: 7.938 kB / 0.5822 GB, free: 6.648 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.25e-05/0.1445, allocations: 8 kB / 0.5822 GB, free: 6.641 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.401e-05/0.1445, allocations: 11.98 kB / 0.5822 GB, free: 6.629 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.635e-05/0.1446, allocations: 19.88 kB / 0.5822 GB, free: 6.609 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 9.235e-05/0.1447, allocations: 40.16 kB / 0.5823 GB, free: 6.57 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.461e-06/0.1447, allocations: 4 kB / 0.5823 GB, free: 6.566 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.1447, allocations: 0 / 0.5823 GB, free: 6.566 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.208e-06/0.1447, allocations: 0 / 0.5823 GB, free: 6.566 MB / 494.1 MB 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.0004789/0.1452, allocations: 363.4 kB / 0.5826 GB, free: 6.164 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.439e-05/0.1452, allocations: 8.031 kB / 0.5826 GB, free: 6.156 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.297e-05/0.1453, allocations: 38.75 kB / 0.5827 GB, free: 6.109 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.058e-05/0.1453, allocations: 8.828 kB / 0.5827 GB, free: 6.102 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001858/0.1455, allocations: 172.3 kB / 0.5828 GB, free: 5.895 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.469e-05/0.1455, allocations: 12.31 kB / 0.5828 GB, free: 5.883 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.396e-05/0.1455, allocations: 8.312 kB / 0.5828 GB, free: 5.875 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001028/0.1456, allocations: 53.81 kB / 0.5829 GB, free: 5.816 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.856e-06/0.1456, allocations: 3.984 kB / 0.5829 GB, free: 5.812 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.949e-06/0.1457, allocations: 4 kB / 0.5829 GB, free: 5.809 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.361e-06/0.1457, allocations: 4 kB / 0.5829 GB, free: 5.805 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.815e-05/0.1457, allocations: 19.98 kB / 0.5829 GB, free: 5.785 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005604/0.1463, allocations: 308.6 kB / 0.5832 GB, free: 5.434 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000102/0.1464, allocations: 50.56 kB / 0.5833 GB, free: 5.375 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.309e-05/0.1465, allocations: 28.94 kB / 0.5833 GB, free: 5.344 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.023e-05/0.1465, allocations: 4 kB / 0.5833 GB, free: 5.34 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001692/0.1467, allocations: 71.42 kB / 0.5834 GB, free: 5.258 MB / 494.1 MB Notification: Performance of pre-optimization done (n=9): time 1.512e-06/0.1467, allocations: 0 / 0.5834 GB, free: 5.258 MB / 494.1 MB Notification: Performance of matching and sorting (n=9): time 0.000212/0.1469, allocations: 105.5 kB / 0.5835 GB, free: 5.148 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.607e-05/0.1469, allocations: 55.41 kB / 0.5835 GB, free: 5.082 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.808e-05/0.147, allocations: 105.8 kB / 0.5836 GB, free: 4.969 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.713e-05/0.147, allocations: 29.7 kB / 0.5837 GB, free: 4.934 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.199e-05/0.1471, allocations: 92.05 kB / 0.5837 GB, free: 4.84 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.708e-05/0.1471, allocations: 27.72 kB / 0.5838 GB, free: 4.812 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.546e-05/0.1472, allocations: 21.72 kB / 0.5838 GB, free: 4.785 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001031/0.1473, allocations: 326.8 kB / 0.5841 GB, free: 4.457 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.506e-05/0.1473, allocations: 15.98 kB / 0.5841 GB, free: 4.441 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.951e-05/0.1474, allocations: 43.38 kB / 0.5842 GB, free: 4.387 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.103e-05/0.1475, allocations: 67.42 kB / 0.5842 GB, free: 4.309 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.1475, allocations: 0 / 0.5842 GB, free: 4.309 MB / 494.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001361/0.1476, allocations: 105.7 kB / 0.5843 GB, free: 4.199 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.227e-05/0.1476, allocations: 4 kB / 0.5843 GB, free: 4.195 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/0.1476, allocations: 3.984 kB / 0.5843 GB, free: 4.191 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.329e-05/0.1477, allocations: 4 kB / 0.5843 GB, free: 4.188 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.837e-05/0.1477, allocations: 12 kB / 0.5843 GB, free: 4.176 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.422e-06/0.1477, allocations: 7.922 kB / 0.5844 GB, free: 4.168 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.615e-05/0.1478, allocations: 12.02 kB / 0.5844 GB, free: 4.156 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.406e-06/0.1478, allocations: 7.938 kB / 0.5844 GB, free: 4.148 MB / 494.1 MB 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.551e-05/0.1479, allocations: 121.7 kB / 0.5845 GB, free: 4.023 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.474e-05/0.1479, allocations: 11.91 kB / 0.5845 GB, free: 4.012 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.593e-05/0.148, allocations: 7.953 kB / 0.5845 GB, free: 4.004 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/0.148, allocations: 0 / 0.5845 GB, free: 4.004 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/0.148, allocations: 4 kB / 0.5845 GB, free: 4 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.148, allocations: 0 / 0.5845 GB, free: 4 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003782/0.1484, allocations: 358.5 kB / 0.5849 GB, free: 3.594 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.1484, allocations: 0 / 0.5849 GB, free: 3.594 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.76e-05/0.1484, allocations: 4 kB / 0.5849 GB, free: 3.59 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.1484, allocations: 0 / 0.5849 GB, free: 3.59 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.923e-06/0.1485, allocations: 0 / 0.5849 GB, free: 3.59 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.134e-06/0.1485, allocations: 7.938 kB / 0.5849 GB, free: 3.582 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.1485, allocations: 4.406 kB / 0.5849 GB, free: 3.578 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001605/0.1486, allocations: 187.4 kB / 0.585 GB, free: 3.379 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.609e-05/0.1487, allocations: 81.05 kB / 0.5851 GB, free: 3.281 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.521e-05/0.1487, allocations: 7.922 kB / 0.5851 GB, free: 3.273 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.577e-05/0.1488, allocations: 7.938 kB / 0.5851 GB, free: 3.266 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.031e-05/0.1488, allocations: 11.98 kB / 0.5851 GB, free: 3.254 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.772e-06/0.1488, allocations: 4 kB / 0.5852 GB, free: 3.25 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.721e-05/0.1489, allocations: 83.28 kB / 0.5852 GB, free: 3.168 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1489, allocations: 0 / 0.5852 GB, free: 3.168 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002379/0.1491, allocations: 12 kB / 0.5852 GB, free: 3.156 MB / 494.1 MB 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.0004182/0.1496, allocations: 0.719 MB / 0.5859 GB, free: 2.41 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001285/0.1497, allocations: 55.92 kB / 0.586 GB, free: 2.355 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.1497, allocations: 0 / 0.586 GB, free: 2.355 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 4.974e-05/0.1498, allocations: 27.92 kB / 0.586 GB, free: 2.328 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002599/0.15, allocations: 16 kB / 0.586 GB, free: 2.312 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001233/0.1513, allocations: 1.38 MB / 0.5874 GB, free: 0.8398 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002369/0.1515, allocations: 0.6854 MB / 0.5881 GB, free: 132 kB / 494.1 MB Notification: Performance of simCode: alias equations: time 2.711e-05/0.1516, allocations: 7.984 kB / 0.5881 GB, free: 124 kB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.073e-05/0.1516, allocations: 15.44 kB / 0.5881 GB, free: 108 kB / 494.1 MB Notification: Performance of SimCode: time 2.11e-07/0.1516, allocations: 0 / 0.5881 GB, free: 108 kB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2273/0.379, allocations: 1.707 MB / 0.5897 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.155/7.534, allocations: 18.08 kB / 0.5898 GB, free: 14.46 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)