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.006269/0.006269, allocations: 100.6 kB / 15.73 MB, free: 6.469 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.001386/0.001386, allocations: 193.8 kB / 16.67 MB, free: 6.379 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.287/1.287, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7187/0.7187, allocations: 132.2 MB / 422.7 MB, free: 1.695 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001155/0.001155, allocations: 63.05 kB / 0.5808 GB, free: 1.137 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1407/0.1418, allocations: 80.21 MB / 0.6592 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Validation.OffTimerNonZeroStart): time 0.002252/0.1441, allocations: 1.465 MB / 0.6606 GB, free: 12.54 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0006522/0.1448, allocations: 450.8 kB / 0.661 GB, free: 12.09 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.732e-05/0.1449, allocations: 4 kB / 0.661 GB, free: 12.09 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.653e-05/0.1449, allocations: 3.938 kB / 0.6611 GB, free: 12.08 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 7.402e-05/0.145, allocations: 3.938 kB / 0.6611 GB, free: 12.08 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001426/0.1451, allocations: 23.91 kB / 0.6611 GB, free: 12.05 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 8.237e-05/0.1452, allocations: 47.89 kB / 0.6611 GB, free: 12.01 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001008/0.1453, allocations: 27.94 kB / 0.6611 GB, free: 11.98 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.922e-05/0.1454, allocations: 15.92 kB / 0.6612 GB, free: 11.96 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.64e-05/0.1455, allocations: 19.92 kB / 0.6612 GB, free: 11.95 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.828e-05/0.1455, allocations: 4 kB / 0.6612 GB, free: 11.94 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.032e-05/0.1455, allocations: 7.938 kB / 0.6612 GB, free: 11.93 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.28e-05/0.1455, allocations: 15.92 kB / 0.6612 GB, free: 11.92 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.962e-05/0.1456, allocations: 23.91 kB / 0.6612 GB, free: 11.89 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 9.344e-05/0.1457, allocations: 46.64 kB / 0.6613 GB, free: 11.85 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.1457, allocations: 0 / 0.6613 GB, free: 11.85 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.312e-06/0.1457, allocations: 4 kB / 0.6613 GB, free: 11.85 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 9.458e-06/0.1457, allocations: 0 / 0.6613 GB, free: 11.85 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.0004776/0.1462, allocations: 356.3 kB / 0.6616 GB, free: 11.45 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.759e-05/0.1462, allocations: 8.031 kB / 0.6616 GB, free: 11.45 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.299e-05/0.1463, allocations: 30.75 kB / 0.6617 GB, free: 11.41 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.782e-05/0.1463, allocations: 8.844 kB / 0.6617 GB, free: 11.4 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001171/0.1464, allocations: 176.3 kB / 0.6618 GB, free: 11.19 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.348e-05/0.1464, allocations: 384 / 0.6618 GB, free: 11.19 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.197e-06/0.1465, allocations: 12.31 kB / 0.6618 GB, free: 11.18 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001027/0.1466, allocations: 61.8 kB / 0.6619 GB, free: 11.11 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.774e-06/0.1466, allocations: 0 / 0.6619 GB, free: 11.11 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.05e-05/0.1466, allocations: 4 kB / 0.6619 GB, free: 11.11 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.1466, allocations: 0 / 0.6619 GB, free: 11.11 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.721e-05/0.1467, allocations: 23.98 kB / 0.6619 GB, free: 11.08 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004251/0.1471, allocations: 300.7 kB / 0.6622 GB, free: 10.74 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 9.273e-05/0.1472, allocations: 58.56 kB / 0.6623 GB, free: 10.67 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.164e-05/0.1473, allocations: 28.92 kB / 0.6623 GB, free: 10.64 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.047e-05/0.1473, allocations: 0 / 0.6623 GB, free: 10.64 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000164/0.1474, allocations: 79.39 kB / 0.6624 GB, free: 10.55 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=9): time 1.223e-06/0.1475, allocations: 0 / 0.6624 GB, free: 10.55 MB / 0.4981 GB Notification: Performance of matching and sorting (n=9): time 0.0002159/0.1477, allocations: 97.56 kB / 0.6625 GB, free: 10.45 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.965e-05/0.1477, allocations: 67.39 kB / 0.6625 GB, free: 10.37 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.494e-05/0.1478, allocations: 101.8 kB / 0.6626 GB, free: 10.26 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.57e-05/0.1478, allocations: 29.7 kB / 0.6627 GB, free: 10.23 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.77e-05/0.1479, allocations: 88.12 kB / 0.6627 GB, free: 10.14 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.366e-05/0.1479, allocations: 23.66 kB / 0.6628 GB, free: 10.11 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.984e-05/0.1479, allocations: 33.64 kB / 0.6628 GB, free: 10.07 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 8.496e-05/0.148, allocations: 318.8 kB / 0.6631 GB, free: 9.754 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.416e-05/0.1481, allocations: 19.98 kB / 0.6631 GB, free: 9.734 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.643e-05/0.1481, allocations: 43.42 kB / 0.6632 GB, free: 9.68 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.622e-05/0.1482, allocations: 67.38 kB / 0.6632 GB, free: 9.602 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.1482, allocations: 0 / 0.6632 GB, free: 9.602 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001243/0.1483, allocations: 101.5 kB / 0.6633 GB, free: 9.496 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.264e-05/0.1484, allocations: 4 kB / 0.6633 GB, free: 9.492 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.428e-06/0.1484, allocations: 4.031 kB / 0.6633 GB, free: 9.488 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.389e-05/0.1484, allocations: 4 kB / 0.6633 GB, free: 9.484 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.645e-05/0.1485, allocations: 8 kB / 0.6633 GB, free: 9.477 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.873e-06/0.1485, allocations: 3.984 kB / 0.6633 GB, free: 9.473 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.918e-05/0.1485, allocations: 7.906 kB / 0.6634 GB, free: 9.465 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.207e-06/0.1485, allocations: 7.938 kB / 0.6634 GB, free: 9.457 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.434e-05/0.1486, allocations: 122.7 kB / 0.6635 GB, free: 9.328 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.12e-05/0.1486, allocations: 4 kB / 0.6635 GB, free: 9.324 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.103e-05/0.1487, allocations: 15.95 kB / 0.6635 GB, free: 9.301 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.1487, allocations: 0 / 0.6635 GB, free: 9.301 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.446e-06/0.1487, allocations: 0 / 0.6635 GB, free: 9.301 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.1487, allocations: 4 kB / 0.6635 GB, free: 9.297 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003413/0.149, allocations: 362.3 kB / 0.6638 GB, free: 8.887 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-06/0.1491, allocations: 0 / 0.6638 GB, free: 8.887 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.498e-05/0.1491, allocations: 4.281 kB / 0.6639 GB, free: 8.883 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.1491, allocations: 480 / 0.6639 GB, free: 8.883 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.846e-06/0.1491, allocations: 3.984 kB / 0.6639 GB, free: 8.879 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.535e-06/0.1491, allocations: 3.938 kB / 0.6639 GB, free: 8.875 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.1491, allocations: 4 kB / 0.6639 GB, free: 8.871 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001367/0.1493, allocations: 187.4 kB / 0.664 GB, free: 8.672 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.526e-05/0.1493, allocations: 85 kB / 0.6641 GB, free: 8.57 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.302e-05/0.1493, allocations: 3.938 kB / 0.6641 GB, free: 8.566 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.013e-05/0.1494, allocations: 11.94 kB / 0.6641 GB, free: 8.555 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.821e-05/0.1495, allocations: 7.984 kB / 0.6641 GB, free: 8.547 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.152e-06/0.1495, allocations: 7.938 kB / 0.6642 GB, free: 8.539 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.511e-05/0.1495, allocations: 91.27 kB / 0.6642 GB, free: 8.449 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.31e-07/0.1495, allocations: 0 / 0.6642 GB, free: 8.449 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002165/0.1497, allocations: 12 kB / 0.6643 GB, free: 8.438 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.000356/0.1501, allocations: 0.7085 MB / 0.6649 GB, free: 7.703 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001231/0.1502, allocations: 55.92 kB / 0.665 GB, free: 7.648 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.1502, allocations: 0 / 0.665 GB, free: 7.648 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 4.798e-05/0.1503, allocations: 27.92 kB / 0.665 GB, free: 7.621 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002547/0.1505, allocations: 12.36 kB / 0.665 GB, free: 7.613 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001021/0.1516, allocations: 1.376 MB / 0.6664 GB, free: 6.137 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001926/0.1518, allocations: 0.6846 MB / 0.667 GB, free: 5.426 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.595e-05/0.1518, allocations: 4 kB / 0.6671 GB, free: 5.422 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.206e-05/0.1519, allocations: 19.44 kB / 0.6671 GB, free: 5.402 MB / 0.4981 GB Notification: Performance of SimCode: time 2.4e-07/0.1519, allocations: 3.938 kB / 0.6671 GB, free: 5.398 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01808/0.1699, allocations: 1.785 MB / 0.6688 GB, free: 3.758 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.33/7.5, allocations: 19.16 kB / 0.6688 GB, free: 3.742 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)