Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.Continuous.Validation.OffTimerNonZeroStart.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.Validation.OffTimerNonZeroStart,fileNamePrefix="IDEAS_IDEAS_Controls_Continuous_Validation_OffTimerNonZeroStart",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.Continuous.Validation.OffTimerNonZeroStart,fileNamePrefix="IDEAS_IDEAS_Controls_Continuous_Validation_OffTimerNonZeroStart",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.006039/0.006039, allocations: 106.9 kB / 15.74 MB, free: 5.582 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.001331/0.001332, allocations: 197.7 kB / 16.67 MB, free: 5.508 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.21/1.21, 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.7203/0.7203, allocations: 132.2 MB / 422.7 MB, free: 6.566 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001132/0.001132, allocations: 61.2 kB / 0.5808 GB, free: 24.12 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1352/0.1364, allocations: 80.21 MB / 0.6592 GB, free: 10.79 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Validation.OffTimerNonZeroStart): time 0.00267/0.1391, allocations: 1.47 MB / 0.6606 GB, free: 9.301 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0007362/0.1399, allocations: 446.9 kB / 0.661 GB, free: 8.859 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.001e-05/0.1399, allocations: 0 / 0.661 GB, free: 8.859 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.394e-05/0.14, allocations: 7.922 kB / 0.661 GB, free: 8.852 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 8.513e-05/0.1401, allocations: 11.92 kB / 0.661 GB, free: 8.84 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001549/0.1402, allocations: 19.92 kB / 0.6611 GB, free: 8.82 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 8.815e-05/0.1403, allocations: 47.91 kB / 0.6611 GB, free: 8.773 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001113/0.1405, allocations: 19.98 kB / 0.6611 GB, free: 8.754 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.845e-05/0.1405, allocations: 23.86 kB / 0.6612 GB, free: 8.73 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.906e-05/0.1406, allocations: 27.91 kB / 0.6612 GB, free: 8.703 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.909e-05/0.1406, allocations: 4 kB / 0.6612 GB, free: 8.699 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.274e-05/0.1406, allocations: 4 kB / 0.6612 GB, free: 8.695 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.221e-05/0.1407, allocations: 11.88 kB / 0.6612 GB, free: 8.684 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 4.659e-05/0.1407, allocations: 23.92 kB / 0.6612 GB, free: 8.66 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001055/0.1408, allocations: 46.62 kB / 0.6613 GB, free: 8.617 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.1408, allocations: 0 / 0.6613 GB, free: 8.617 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.793e-06/0.1408, allocations: 0 / 0.6613 GB, free: 8.617 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.803e-06/0.1409, allocations: 3.984 kB / 0.6613 GB, free: 8.613 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.0005022/0.1414, allocations: 352.3 kB / 0.6616 GB, free: 8.223 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.045e-05/0.1414, allocations: 16.02 kB / 0.6616 GB, free: 8.207 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.628e-05/0.1415, allocations: 34.75 kB / 0.6617 GB, free: 8.164 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.165e-05/0.1415, allocations: 8.844 kB / 0.6617 GB, free: 8.156 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001321/0.1416, allocations: 172.3 kB / 0.6618 GB, free: 7.949 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.295e-05/0.1417, allocations: 384 / 0.6618 GB, free: 7.949 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.478e-05/0.1417, allocations: 12.36 kB / 0.6618 GB, free: 7.938 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000111/0.1418, allocations: 61.81 kB / 0.6619 GB, free: 7.871 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.945e-06/0.1418, allocations: 0 / 0.6619 GB, free: 7.871 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.227e-06/0.1418, allocations: 0 / 0.6619 GB, free: 7.871 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.89e-06/0.1418, allocations: 0 / 0.6619 GB, free: 7.871 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.355e-05/0.1419, allocations: 31.92 kB / 0.6619 GB, free: 7.84 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004679/0.1424, allocations: 296.7 kB / 0.6622 GB, free: 7.5 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001051/0.1425, allocations: 62.62 kB / 0.6623 GB, free: 7.43 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.114e-05/0.1425, allocations: 24.91 kB / 0.6623 GB, free: 7.402 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.276e-05/0.1426, allocations: 3.984 kB / 0.6623 GB, free: 7.398 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001769/0.1427, allocations: 67.39 kB / 0.6624 GB, free: 7.32 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=9): time 2.846e-06/0.1427, allocations: 0 / 0.6624 GB, free: 7.32 MB / 0.4981 GB Notification: Performance of matching and sorting (n=9): time 0.0002189/0.143, allocations: 105.8 kB / 0.6625 GB, free: 7.211 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.362e-05/0.143, allocations: 51.5 kB / 0.6625 GB, free: 7.148 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.995e-05/0.1431, allocations: 117.7 kB / 0.6626 GB, free: 7.023 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.751e-05/0.1431, allocations: 29.7 kB / 0.6627 GB, free: 6.988 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.899e-05/0.1432, allocations: 84.14 kB / 0.6627 GB, free: 6.902 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.667e-05/0.1432, allocations: 35.56 kB / 0.6628 GB, free: 6.867 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.213e-05/0.1432, allocations: 25.72 kB / 0.6628 GB, free: 6.836 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 8.999e-05/0.1433, allocations: 322.8 kB / 0.6631 GB, free: 6.512 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.451e-05/0.1434, allocations: 16 kB / 0.6631 GB, free: 6.496 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.154e-05/0.1434, allocations: 47.42 kB / 0.6632 GB, free: 6.438 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.178e-05/0.1435, allocations: 71.36 kB / 0.6632 GB, free: 6.355 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.1435, allocations: 0 / 0.6632 GB, free: 6.355 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001303/0.1437, allocations: 85.62 kB / 0.6633 GB, free: 6.266 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.542e-05/0.1437, allocations: 11.98 kB / 0.6633 GB, free: 6.254 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.1437, allocations: 0 / 0.6633 GB, free: 6.254 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.245e-05/0.1437, allocations: 0 / 0.6633 GB, free: 6.254 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.063e-05/0.1438, allocations: 15.97 kB / 0.6633 GB, free: 6.238 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.764e-06/0.1438, allocations: 4 kB / 0.6633 GB, free: 6.234 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.551e-05/0.1439, allocations: 15.89 kB / 0.6634 GB, free: 6.219 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.327e-06/0.1439, allocations: 7.938 kB / 0.6634 GB, free: 6.211 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.488e-05/0.144, allocations: 117.8 kB / 0.6635 GB, free: 6.086 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.374e-05/0.144, allocations: 4 kB / 0.6635 GB, free: 6.082 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.171e-05/0.144, allocations: 7.969 kB / 0.6635 GB, free: 6.066 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.144, allocations: 0 / 0.6635 GB, free: 6.066 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.227e-06/0.144, allocations: 4 kB / 0.6635 GB, free: 6.062 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.144, allocations: 0 / 0.6635 GB, free: 6.062 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000353/0.1444, allocations: 366.3 kB / 0.6638 GB, free: 5.648 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.694e-06/0.1444, allocations: 0 / 0.6638 GB, free: 5.648 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.109e-05/0.1445, allocations: 7.938 kB / 0.6638 GB, free: 5.641 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.1445, allocations: 4.219 kB / 0.6639 GB, free: 5.637 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.133e-06/0.1445, allocations: 0 / 0.6639 GB, free: 5.637 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.856e-06/0.1445, allocations: 3.938 kB / 0.6639 GB, free: 5.633 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.1445, allocations: 0 / 0.6639 GB, free: 5.633 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001443/0.1446, allocations: 187.5 kB / 0.664 GB, free: 5.434 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.872e-05/0.1447, allocations: 89 kB / 0.6641 GB, free: 5.328 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.525e-05/0.1447, allocations: 4 kB / 0.6641 GB, free: 5.324 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.006e-05/0.1448, allocations: 11.92 kB / 0.6641 GB, free: 5.312 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.028e-05/0.1448, allocations: 7.984 kB / 0.6641 GB, free: 5.305 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.979e-06/0.1448, allocations: 0 / 0.6641 GB, free: 5.305 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.746e-05/0.1449, allocations: 83.28 kB / 0.6642 GB, free: 5.223 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1449, allocations: 4 kB / 0.6642 GB, free: 5.219 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002349/0.1451, allocations: 16 kB / 0.6642 GB, free: 5.203 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.0003761/0.1455, allocations: 0.7085 MB / 0.6649 GB, free: 4.469 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001314/0.1457, allocations: 59.91 kB / 0.665 GB, free: 4.41 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.1457, allocations: 0 / 0.665 GB, free: 4.41 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 4.906e-05/0.1457, allocations: 28 kB / 0.665 GB, free: 4.383 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002702/0.146, allocations: 16.11 kB / 0.665 GB, free: 4.367 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001139/0.1471, allocations: 1.383 MB / 0.6664 GB, free: 2.891 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002054/0.1474, allocations: 0.6846 MB / 0.6671 GB, free: 2.18 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.859e-05/0.1474, allocations: 11.92 kB / 0.6671 GB, free: 2.168 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.523e-05/0.1474, allocations: 15.44 kB / 0.6671 GB, free: 2.152 MB / 0.4981 GB Notification: Performance of SimCode: time 2.11e-07/0.1474, allocations: 0 / 0.6671 GB, free: 2.152 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0177/0.1652, allocations: 1.771 MB / 0.6688 GB, free: 0.5117 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.23/7.395, allocations: 5.078 kB / 0.6688 GB, free: 0.5078 MB / 0.4981 GB (rm -f IDEAS_IDEAS.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe ; mkfifo IDEAS_IDEAS.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe >> ../files/IDEAS_IDEAS.Controls.Continuous.Validation.OffTimerNonZeroStart.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Controls_Continuous_Validation_OffTimerNonZeroStart_fmu --startTime=-1 --stopTime=0 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Controls_Continuous_Validation_OffTimerNonZeroStart.fmu > IDEAS_IDEAS.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe 2>&1)