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.001609/0.001609, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.002212/0.002212, allocations: 189.2 kB / 16.13 MB, free: 6.66 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.324/1.324, allocations: 222.9 MB / 239.8 MB, free: 4.57 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7562/0.7562, allocations: 132.2 MB / 422.1 MB, free: 2.008 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001129/0.001129, allocations: 63.64 kB / 0.5012 GB, free: 4.219 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3698/0.371, allocations: 80.2 MB / 0.5795 GB, free: 4.551 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Validation.OffTimerNonZeroStart): time 0.003201/0.3742, allocations: 1.537 MB / 0.581 GB, free: 3.48 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006831/0.3749, allocations: 440.4 kB / 0.5814 GB, free: 3.176 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.301e-05/0.375, allocations: 1.469 kB / 0.5814 GB, free: 3.176 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 3.929e-05/0.375, allocations: 5.25 kB / 0.5814 GB, free: 3.172 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 8.476e-05/0.3751, allocations: 9.922 kB / 0.5814 GB, free: 3.164 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001509/0.3753, allocations: 24.27 kB / 0.5815 GB, free: 3.148 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 8.443e-05/0.3754, allocations: 53.83 kB / 0.5815 GB, free: 3.121 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001089/0.3755, allocations: 11.48 kB / 0.5815 GB, free: 3.117 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.032e-05/0.3755, allocations: 21.94 kB / 0.5815 GB, free: 3.105 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.393e-05/0.3756, allocations: 23.34 kB / 0.5816 GB, free: 3.094 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.28e-05/0.3756, allocations: 2.625 kB / 0.5816 GB, free: 3.094 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.537e-05/0.3757, allocations: 3 kB / 0.5816 GB, free: 3.094 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 2.689e-05/0.3757, allocations: 8.75 kB / 0.5816 GB, free: 3.09 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 5.113e-05/0.3758, allocations: 22.56 kB / 0.5816 GB, free: 3.078 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001056/0.3759, allocations: 36.8 kB / 0.5816 GB, free: 3.066 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.3759, allocations: 4 kB / 0.5816 GB, free: 3.062 MB / 430.1 MB Notification: Performance of FrontEnd: time 7.12e-07/0.3759, allocations: 0 / 0.5816 GB, free: 3.062 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.32e-06/0.3759, allocations: 1.188 kB / 0.5816 GB, free: 3.062 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.000484/0.3764, allocations: 364.9 kB / 0.582 GB, free: 2.691 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.487e-05/0.3764, allocations: 9.188 kB / 0.582 GB, free: 2.691 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.287e-05/0.3765, allocations: 34.12 kB / 0.582 GB, free: 2.652 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.231e-05/0.3765, allocations: 4.547 kB / 0.582 GB, free: 2.652 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.845e-05/0.3766, allocations: 163.8 kB / 0.5822 GB, free: 2.457 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.389e-05/0.3766, allocations: 11.17 kB / 0.5822 GB, free: 2.449 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.447e-05/0.3767, allocations: 4.375 kB / 0.5822 GB, free: 2.449 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001199/0.3768, allocations: 62.39 kB / 0.5823 GB, free: 2.402 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.644e-06/0.3768, allocations: 0 / 0.5823 GB, free: 2.402 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.087e-05/0.3768, allocations: 1.359 kB / 0.5823 GB, free: 2.402 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.214e-06/0.3768, allocations: 1.25 kB / 0.5823 GB, free: 2.402 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.125e-05/0.3769, allocations: 30.61 kB / 0.5823 GB, free: 2.391 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004679/0.3774, allocations: 311.2 kB / 0.5826 GB, free: 2.09 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001114/0.3775, allocations: 54.05 kB / 0.5826 GB, free: 2.055 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.505e-05/0.3775, allocations: 31.03 kB / 0.5827 GB, free: 2.035 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.067e-06/0.3776, allocations: 1.094 kB / 0.5827 GB, free: 2.035 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001722/0.3777, allocations: 74.12 kB / 0.5827 GB, free: 1.977 MB / 430.1 MB Notification: Performance of pre-optimization done (n=9): time 1.392e-06/0.3777, allocations: 7.938 kB / 0.5827 GB, free: 1.969 MB / 430.1 MB Notification: Performance of matching and sorting (n=9): time 0.0002304/0.378, allocations: 100.7 kB / 0.5828 GB, free: 1.914 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.363e-05/0.378, allocations: 54.05 kB / 0.5829 GB, free: 1.852 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.748e-05/0.3781, allocations: 107.5 kB / 0.583 GB, free: 1.746 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.175e-05/0.3781, allocations: 27.52 kB / 0.583 GB, free: 1.715 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.85e-05/0.3782, allocations: 90.47 kB / 0.5831 GB, free: 1.625 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.447e-05/0.3782, allocations: 18.08 kB / 0.5831 GB, free: 1.613 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.863e-05/0.3782, allocations: 24.27 kB / 0.5831 GB, free: 1.594 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.984e-05/0.3783, allocations: 326 kB / 0.5835 GB, free: 1.27 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.72e-05/0.3783, allocations: 16.61 kB / 0.5835 GB, free: 1.266 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.534e-05/0.3784, allocations: 47.42 kB / 0.5835 GB, free: 1.227 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.624e-05/0.3785, allocations: 68.98 kB / 0.5836 GB, free: 1.172 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.3785, allocations: 0.5625 kB / 0.5836 GB, free: 1.172 MB / 430.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001368/0.3786, allocations: 101.8 kB / 0.5837 GB, free: 1.109 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.959e-05/0.3787, allocations: 5.406 kB / 0.5837 GB, free: 1.109 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.091e-06/0.3787, allocations: 1.938 kB / 0.5837 GB, free: 1.109 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.407e-05/0.3787, allocations: 0.9375 kB / 0.5837 GB, free: 1.109 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.496e-05/0.3788, allocations: 13.58 kB / 0.5837 GB, free: 1.105 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.766e-06/0.3788, allocations: 2.188 kB / 0.5837 GB, free: 1.105 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.677e-05/0.3789, allocations: 10.59 kB / 0.5837 GB, free: 1.102 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.727e-06/0.3789, allocations: 7.562 kB / 0.5837 GB, free: 1.098 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 7.306e-05/0.3789, allocations: 123.8 kB / 0.5838 GB, free: 0.9727 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.358e-05/0.379, allocations: 6.656 kB / 0.5838 GB, free: 0.9688 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.055e-05/0.379, allocations: 13.52 kB / 0.5839 GB, free: 0.9531 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.379, allocations: 1 kB / 0.5839 GB, free: 0.9531 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.231e-06/0.379, allocations: 0.9375 kB / 0.5839 GB, free: 0.9531 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.379, allocations: 0.6094 kB / 0.5839 GB, free: 0.9531 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003315/0.3794, allocations: 361.2 kB / 0.5842 GB, free: 0.6211 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.3794, allocations: 0 / 0.5842 GB, free: 0.6211 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.664e-05/0.3794, allocations: 8.391 kB / 0.5842 GB, free: 0.6172 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.3794, allocations: 0.7188 kB / 0.5842 GB, free: 0.6172 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.107e-06/0.3794, allocations: 1.75 kB / 0.5842 GB, free: 0.6172 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.045e-06/0.3794, allocations: 9.781 kB / 0.5842 GB, free: 0.6094 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.3794, allocations: 4 kB / 0.5842 GB, free: 0.6055 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001333/0.3796, allocations: 182.5 kB / 0.5844 GB, free: 464 kB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.535e-05/0.3796, allocations: 79.81 kB / 0.5845 GB, free: 368 kB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.698e-05/0.3796, allocations: 1.359 kB / 0.5845 GB, free: 368 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.552e-05/0.3797, allocations: 14.97 kB / 0.5845 GB, free: 360 kB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.465e-05/0.3798, allocations: 13.97 kB / 0.5845 GB, free: 352 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.693e-06/0.3798, allocations: 3.109 kB / 0.5845 GB, free: 352 kB / 430.1 MB Notification: Performance of sorting global known variables: time 2.681e-05/0.3798, allocations: 85.06 kB / 0.5846 GB, free: 272 kB / 430.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3798, allocations: 0 / 0.5846 GB, free: 272 kB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002337/0.3801, allocations: 19.28 kB / 0.5846 GB, free: 264 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.0004175/0.3805, allocations: 0.7129 MB / 0.5853 GB, free: 15.58 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001428/0.3806, allocations: 54.33 kB / 0.5854 GB, free: 15.56 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.3807, allocations: 0 / 0.5854 GB, free: 15.56 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 6.018e-05/0.3807, allocations: 27.14 kB / 0.5854 GB, free: 15.55 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002865/0.381, allocations: 15.88 kB / 0.5854 GB, free: 15.55 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001424/0.3824, allocations: 1.368 MB / 0.5867 GB, free: 14.25 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002678/0.3827, allocations: 0.6841 MB / 0.5874 GB, free: 13.55 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 3.656e-05/0.3828, allocations: 10.2 kB / 0.5874 GB, free: 13.55 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.525e-05/0.3828, allocations: 16.34 kB / 0.5874 GB, free: 13.54 MB / 446.1 MB Notification: Performance of SimCode: time 2.5e-07/0.3828, allocations: 0 / 0.5874 GB, free: 13.54 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01283/0.3957, allocations: 1.527 MB / 0.5889 GB, free: 13.32 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000195/0.3959, allocations: 201.4 kB / 0.5891 GB, free: 13.06 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.733/2.129, allocations: 7.438 kB / 0.5891 GB, free: 13.06 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)