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.00587/0.00587, allocations: 101.6 kB / 15.73 MB, free: 5.539 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.001355/0.001355, allocations: 190.3 kB / 16.67 MB, free: 5.477 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.23/1.23, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7424/0.7424, allocations: 132.2 MB / 422.7 MB, free: 6.559 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001114/0.001114, allocations: 63.22 kB / 0.5808 GB, free: 24.18 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1283/0.1294, allocations: 80.21 MB / 0.6591 GB, free: 10.91 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.OffTimer): time 0.002181/0.1316, allocations: 1.458 MB / 0.6606 GB, free: 9.441 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0006146/0.1322, allocations: 454.8 kB / 0.661 GB, free: 8.992 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.733e-05/0.1323, allocations: 0 / 0.661 GB, free: 8.992 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.592e-05/0.1323, allocations: 0 / 0.661 GB, free: 8.992 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.883e-05/0.1324, allocations: 11.86 kB / 0.661 GB, free: 8.98 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001328/0.1325, allocations: 15.98 kB / 0.661 GB, free: 8.965 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 8.175e-05/0.1326, allocations: 51.84 kB / 0.6611 GB, free: 8.914 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.915e-05/0.1327, allocations: 19.98 kB / 0.6611 GB, free: 8.895 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.544e-05/0.1328, allocations: 19.92 kB / 0.6611 GB, free: 8.875 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.725e-05/0.1329, allocations: 23.91 kB / 0.6611 GB, free: 8.852 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.581e-05/0.1329, allocations: 7.938 kB / 0.6611 GB, free: 8.844 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.019e-05/0.1329, allocations: 4 kB / 0.6612 GB, free: 8.84 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.115e-05/0.1329, allocations: 11.94 kB / 0.6612 GB, free: 8.828 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 5.309e-05/0.133, allocations: 23.92 kB / 0.6612 GB, free: 8.805 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 9.265e-05/0.1331, allocations: 50.56 kB / 0.6612 GB, free: 8.758 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.566e-06/0.1331, allocations: 0 / 0.6612 GB, free: 8.758 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.785e-06/0.1331, allocations: 8 kB / 0.6612 GB, free: 8.75 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.178e-06/0.1331, allocations: 0 / 0.6612 GB, free: 8.75 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.0004503/0.1336, allocations: 352.3 kB / 0.6616 GB, free: 8.359 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.434e-05/0.1336, allocations: 8.031 kB / 0.6616 GB, free: 8.352 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.635e-05/0.1336, allocations: 42.73 kB / 0.6616 GB, free: 8.301 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.603e-05/0.1337, allocations: 8.844 kB / 0.6616 GB, free: 8.293 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001155/0.1338, allocations: 168.3 kB / 0.6618 GB, free: 8.09 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.157e-05/0.1338, allocations: 8.375 kB / 0.6618 GB, free: 8.082 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.31e-05/0.1338, allocations: 4.375 kB / 0.6618 GB, free: 8.078 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001015/0.1339, allocations: 65.73 kB / 0.6619 GB, free: 8.008 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.054e-06/0.1339, allocations: 0 / 0.6619 GB, free: 8.008 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.266e-06/0.134, allocations: 0 / 0.6619 GB, free: 8.008 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.058e-06/0.134, allocations: 4 kB / 0.6619 GB, free: 8.004 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.498e-05/0.134, allocations: 23.98 kB / 0.6619 GB, free: 7.98 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004191/0.1344, allocations: 300.6 kB / 0.6622 GB, free: 7.637 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 9.376e-05/0.1346, allocations: 58.56 kB / 0.6622 GB, free: 7.57 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.197e-05/0.1346, allocations: 24.95 kB / 0.6623 GB, free: 7.543 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 8.917e-06/0.1346, allocations: 3.984 kB / 0.6623 GB, free: 7.539 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001424/0.1348, allocations: 71.42 kB / 0.6623 GB, free: 7.457 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=9): time 1.492e-06/0.1348, allocations: 4 kB / 0.6623 GB, free: 7.453 MB / 0.4981 GB Notification: Performance of matching and sorting (n=9): time 0.0002066/0.135, allocations: 101.5 kB / 0.6624 GB, free: 7.348 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.674e-05/0.135, allocations: 55.41 kB / 0.6625 GB, free: 7.281 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.983e-05/0.1351, allocations: 109.8 kB / 0.6626 GB, free: 7.164 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.514e-05/0.1351, allocations: 29.7 kB / 0.6626 GB, free: 7.129 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.759e-05/0.1352, allocations: 84.12 kB / 0.6627 GB, free: 7.043 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.374e-05/0.1352, allocations: 23.66 kB / 0.6627 GB, free: 7.02 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.389e-05/0.1353, allocations: 33.64 kB / 0.6628 GB, free: 6.98 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.579e-05/0.1354, allocations: 326.8 kB / 0.6631 GB, free: 6.652 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.271e-05/0.1354, allocations: 12 kB / 0.6631 GB, free: 6.641 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.273e-05/0.1355, allocations: 53.5 kB / 0.6631 GB, free: 6.578 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.12e-05/0.1355, allocations: 67.36 kB / 0.6632 GB, free: 6.5 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.1355, allocations: 4 kB / 0.6632 GB, free: 6.496 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001301/0.1357, allocations: 89.84 kB / 0.6633 GB, free: 6.402 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.114e-05/0.1357, allocations: 4 kB / 0.6633 GB, free: 6.398 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.095e-06/0.1357, allocations: 12.02 kB / 0.6633 GB, free: 6.387 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.201e-05/0.1357, allocations: 0 / 0.6633 GB, free: 6.387 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.558e-05/0.1358, allocations: 8 kB / 0.6633 GB, free: 6.379 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.22e-06/0.1358, allocations: 0 / 0.6633 GB, free: 6.379 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.444e-05/0.1359, allocations: 19.88 kB / 0.6633 GB, free: 6.359 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.204e-06/0.1359, allocations: 7.938 kB / 0.6633 GB, free: 6.352 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 8.036e-05/0.136, allocations: 122.7 kB / 0.6635 GB, free: 6.223 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.049e-05/0.136, allocations: 0 / 0.6635 GB, free: 6.223 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.892e-05/0.136, allocations: 7.969 kB / 0.6635 GB, free: 6.207 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.035e-06/0.136, allocations: 8 kB / 0.6635 GB, free: 6.199 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.136, allocations: 0 / 0.6635 GB, free: 6.199 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.945e-06/0.136, allocations: 0 / 0.6635 GB, free: 6.199 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003521/0.1364, allocations: 366.3 kB / 0.6638 GB, free: 5.785 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.1364, allocations: 0 / 0.6638 GB, free: 5.785 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.53e-05/0.1364, allocations: 4 kB / 0.6638 GB, free: 5.781 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.1365, allocations: 0 / 0.6638 GB, free: 5.781 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.137e-05/0.1365, allocations: 8 kB / 0.6638 GB, free: 5.773 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.146e-06/0.1365, allocations: 3.938 kB / 0.6638 GB, free: 5.77 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.1365, allocations: 4.469 kB / 0.6638 GB, free: 5.766 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001424/0.1366, allocations: 179.4 kB / 0.664 GB, free: 5.574 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.672e-05/0.1367, allocations: 85.02 kB / 0.6641 GB, free: 5.473 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.352e-05/0.1367, allocations: 7.938 kB / 0.6641 GB, free: 5.465 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.004e-05/0.1368, allocations: 7.922 kB / 0.6641 GB, free: 5.457 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.865e-05/0.1368, allocations: 7.984 kB / 0.6641 GB, free: 5.449 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.384e-06/0.1368, allocations: 8 kB / 0.6641 GB, free: 5.441 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.261e-05/0.1369, allocations: 83.28 kB / 0.6642 GB, free: 5.359 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1369, allocations: 0 / 0.6642 GB, free: 5.359 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002286/0.1371, allocations: 16 kB / 0.6642 GB, free: 5.344 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.0003802/0.1375, allocations: 0.7123 MB / 0.6649 GB, free: 4.605 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001293/0.1376, allocations: 59.91 kB / 0.665 GB, free: 4.547 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.1376, allocations: 0 / 0.665 GB, free: 4.547 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 4.66e-05/0.1377, allocations: 20 kB / 0.665 GB, free: 4.527 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000259/0.138, allocations: 21.52 kB / 0.665 GB, free: 4.508 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00117/0.1391, allocations: 1.386 MB / 0.6664 GB, free: 3.023 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000215/0.1394, allocations: 0.6885 MB / 0.667 GB, free: 2.309 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.694e-05/0.1394, allocations: 4 kB / 0.667 GB, free: 2.305 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.417e-05/0.1394, allocations: 15.44 kB / 0.6671 GB, free: 2.289 MB / 0.4981 GB Notification: Performance of SimCode: time 3.61e-07/0.1395, allocations: 3.938 kB / 0.6671 GB, free: 2.285 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01785/0.1573, allocations: 1.778 MB / 0.6688 GB, free: 0.5977 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.173/7.331, allocations: 12.84 kB / 0.6688 GB, free: 0.5898 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)