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.0009368/0.0009369, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.0009429/0.0009428, allocations: 196.3 kB / 16.26 MB, free: 6.621 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.167/1.167, allocations: 222.9 MB / 239.9 MB, free: 4.5 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6967/0.6967, allocations: 132.2 MB / 422.3 MB, free: 1.895 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001067/0.001067, allocations: 70.67 kB / 0.5014 GB, free: 4.105 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3195/0.3206, allocations: 80.19 MB / 0.5797 GB, free: 4.547 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Validation.OffTimerNonZeroStart): time 0.002216/0.3229, allocations: 1.541 MB / 0.5812 GB, free: 3.473 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005291/0.3234, allocations: 441.1 kB / 0.5816 GB, free: 3.168 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.29e-05/0.3234, allocations: 1.094 kB / 0.5816 GB, free: 3.168 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 3.063e-05/0.3235, allocations: 4.969 kB / 0.5816 GB, free: 3.164 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 6.644e-05/0.3236, allocations: 10.48 kB / 0.5816 GB, free: 3.156 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001209/0.3237, allocations: 18.98 kB / 0.5816 GB, free: 3.145 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 7.152e-05/0.3238, allocations: 50.64 kB / 0.5817 GB, free: 3.121 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.204e-05/0.3238, allocations: 13.27 kB / 0.5817 GB, free: 3.117 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.138e-05/0.3239, allocations: 25.39 kB / 0.5817 GB, free: 3.102 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.58e-05/0.3239, allocations: 26.69 kB / 0.5817 GB, free: 3.086 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.96e-05/0.324, allocations: 5.156 kB / 0.5817 GB, free: 3.086 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.266e-05/0.324, allocations: 4.625 kB / 0.5817 GB, free: 3.086 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.788e-05/0.324, allocations: 9.156 kB / 0.5818 GB, free: 3.082 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 3.751e-05/0.324, allocations: 24.61 kB / 0.5818 GB, free: 3.066 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 8.157e-05/0.3241, allocations: 42.14 kB / 0.5818 GB, free: 3.051 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.486e-06/0.3241, allocations: 0 / 0.5818 GB, free: 3.051 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.3242, allocations: 0.9375 kB / 0.5818 GB, free: 3.051 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.318e-06/0.3242, allocations: 0 / 0.5818 GB, free: 3.051 MB / 430.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.0003619/0.3245, allocations: 365.5 kB / 0.5822 GB, free: 2.68 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.45e-05/0.3246, allocations: 9.781 kB / 0.5822 GB, free: 2.68 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.464e-05/0.3246, allocations: 38.05 kB / 0.5822 GB, free: 2.637 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.364e-05/0.3246, allocations: 4.906 kB / 0.5822 GB, free: 2.637 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.947e-05/0.3247, allocations: 168.5 kB / 0.5824 GB, free: 2.438 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.818e-06/0.3247, allocations: 1.688 kB / 0.5824 GB, free: 2.438 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.377e-05/0.3247, allocations: 8.906 kB / 0.5824 GB, free: 2.434 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.274e-05/0.3248, allocations: 61.81 kB / 0.5824 GB, free: 2.387 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.582e-06/0.3248, allocations: 4.875 kB / 0.5825 GB, free: 2.383 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.196e-06/0.3249, allocations: 0.6094 kB / 0.5825 GB, free: 2.383 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.907e-06/0.3249, allocations: 5.375 kB / 0.5825 GB, free: 2.379 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.764e-05/0.3249, allocations: 29.98 kB / 0.5825 GB, free: 2.367 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003614/0.3253, allocations: 300.2 kB / 0.5828 GB, free: 2.078 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.088e-05/0.3254, allocations: 53.84 kB / 0.5828 GB, free: 2.043 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.901e-05/0.3254, allocations: 30.47 kB / 0.5829 GB, free: 2.023 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.078e-05/0.3255, allocations: 2.109 kB / 0.5829 GB, free: 2.023 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001205/0.3256, allocations: 68.86 kB / 0.5829 GB, free: 1.969 MB / 430.1 MB Notification: Performance of pre-optimization done (n=9): time 1.353e-06/0.3256, allocations: 0 / 0.5829 GB, free: 1.969 MB / 430.1 MB Notification: Performance of matching and sorting (n=9): time 0.000183/0.3258, allocations: 104.8 kB / 0.583 GB, free: 1.91 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.268e-05/0.3258, allocations: 54.42 kB / 0.5831 GB, free: 1.848 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.06e-05/0.3259, allocations: 108.2 kB / 0.5832 GB, free: 1.742 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.136e-05/0.3259, allocations: 31.39 kB / 0.5832 GB, free: 1.707 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.283e-05/0.3259, allocations: 86.72 kB / 0.5833 GB, free: 1.621 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.847e-05/0.3259, allocations: 21.06 kB / 0.5833 GB, free: 1.605 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.633e-05/0.326, allocations: 28.28 kB / 0.5833 GB, free: 1.582 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 3.743e-05/0.326, allocations: 322.6 kB / 0.5836 GB, free: 1.262 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.198e-05/0.326, allocations: 16.28 kB / 0.5837 GB, free: 1.258 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.207e-05/0.3261, allocations: 51.41 kB / 0.5837 GB, free: 1.211 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.181e-05/0.3262, allocations: 72.5 kB / 0.5838 GB, free: 1.152 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.3262, allocations: 1.672 kB / 0.5838 GB, free: 1.152 MB / 430.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001204/0.3263, allocations: 93.94 kB / 0.5839 GB, free: 1.098 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.142e-05/0.3263, allocations: 7.188 kB / 0.5839 GB, free: 1.098 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.3263, allocations: 1.25 kB / 0.5839 GB, free: 1.098 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.809e-06/0.3263, allocations: 0.75 kB / 0.5839 GB, free: 1.098 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.093e-05/0.3264, allocations: 14.69 kB / 0.5839 GB, free: 1.094 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/0.3264, allocations: 5.375 kB / 0.5839 GB, free: 1.09 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.179e-05/0.3265, allocations: 19.38 kB / 0.5839 GB, free: 1.078 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.396e-06/0.3265, allocations: 7.094 kB / 0.5839 GB, free: 1.074 MB / 430.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 5.159e-05/0.3266, allocations: 115.9 kB / 0.584 GB, free: 0.957 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.211e-05/0.3266, allocations: 10.27 kB / 0.584 GB, free: 0.9492 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.395e-05/0.3266, allocations: 9.25 kB / 0.5841 GB, free: 0.9375 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.403e-06/0.3266, allocations: 1.344 kB / 0.5841 GB, free: 0.9375 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.436e-06/0.3266, allocations: 1.578 kB / 0.5841 GB, free: 0.9375 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.3266, allocations: 4.609 kB / 0.5841 GB, free: 0.9336 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002877/0.3269, allocations: 352.7 kB / 0.5844 GB, free: 0.6094 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.3269, allocations: 0.9375 kB / 0.5844 GB, free: 0.6094 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.458e-05/0.327, allocations: 3.953 kB / 0.5844 GB, free: 0.6094 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.327, allocations: 5.125 kB / 0.5844 GB, free: 0.6055 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.326e-06/0.327, allocations: 4.703 kB / 0.5844 GB, free: 0.6016 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.572e-06/0.327, allocations: 5.094 kB / 0.5844 GB, free: 0.5977 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.327, allocations: 0 / 0.5844 GB, free: 0.5977 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001152/0.3271, allocations: 183.2 kB / 0.5846 GB, free: 456 kB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.58e-05/0.3271, allocations: 79.7 kB / 0.5847 GB, free: 360 kB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.365e-05/0.3271, allocations: 5.781 kB / 0.5847 GB, free: 356 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.763e-05/0.3272, allocations: 9.844 kB / 0.5847 GB, free: 352 kB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.837e-05/0.3273, allocations: 6.656 kB / 0.5847 GB, free: 352 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.622e-06/0.3273, allocations: 6.531 kB / 0.5847 GB, free: 348 kB / 430.1 MB Notification: Performance of sorting global known variables: time 2.425e-05/0.3273, allocations: 89.2 kB / 0.5848 GB, free: 264 kB / 430.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3273, allocations: 4 kB / 0.5848 GB, free: 260 kB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002206/0.3276, allocations: 19.34 kB / 0.5848 GB, free: 252 kB / 430.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.0003651/0.3279, allocations: 0.7071 MB / 0.5855 GB, free: 15.57 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001276/0.3281, allocations: 61.86 kB / 0.5855 GB, free: 15.55 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.262e-06/0.3281, allocations: 4.062 kB / 0.5856 GB, free: 15.54 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 5.068e-05/0.3281, allocations: 28.28 kB / 0.5856 GB, free: 15.54 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002449/0.3284, allocations: 14.47 kB / 0.5856 GB, free: 15.53 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001026/0.3294, allocations: 1.373 MB / 0.5869 GB, free: 14.23 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002051/0.3296, allocations: 0.6854 MB / 0.5876 GB, free: 13.54 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.583e-05/0.3297, allocations: 4.578 kB / 0.5876 GB, free: 13.54 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.725e-05/0.3297, allocations: 21.14 kB / 0.5876 GB, free: 13.52 MB / 446.1 MB Notification: Performance of SimCode: time 2.11e-07/0.3297, allocations: 0 / 0.5876 GB, free: 13.52 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9535/1.283, allocations: 1.59 MB / 0.5892 GB, free: 13.3 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000193/1.283, allocations: 200.9 kB / 0.5894 GB, free: 13.05 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.666/2.949, allocations: 3.172 kB / 0.5894 GB, free: 13.05 MB / 446.1 MB (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)