Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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_dev_IDEAS_Controls_Continuous_Validation_OffTimerNonZeroStart",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.Continuous.Validation.OffTimerNonZeroStart,fileNamePrefix="IDEAS_dev_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.007186/0.007186, allocations: 103.6 kB / 15.74 MB, free: 6.047 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.001865/0.001865, allocations: 192 kB / 16.67 MB, free: 5.969 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.347/1.347, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9097/0.9097, allocations: 135.6 MB / 426.1 MB, free: 11.93 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001751/0.001751, allocations: 67.89 kB / 0.5857 GB, free: 3.25 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3481/0.3498, allocations: 81.02 MB / 0.6649 GB, free: 6.879 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Validation.OffTimerNonZeroStart): time 0.002015/0.3519, allocations: 1.467 MB / 0.6663 GB, free: 5.73 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0005242/0.3524, allocations: 444 kB / 0.6667 GB, free: 5.387 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.537e-05/0.3525, allocations: 5.438 kB / 0.6667 GB, free: 5.383 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.788e-05/0.3525, allocations: 7.922 kB / 0.6667 GB, free: 5.375 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.108e-05/0.3526, allocations: 9.219 kB / 0.6667 GB, free: 5.367 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001225/0.3527, allocations: 19.14 kB / 0.6667 GB, free: 5.352 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.329e-05/0.3528, allocations: 48.69 kB / 0.6668 GB, free: 5.324 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 8.991e-05/0.3529, allocations: 18.5 kB / 0.6668 GB, free: 5.312 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.963e-05/0.3529, allocations: 22.61 kB / 0.6668 GB, free: 5.297 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.815e-05/0.353, allocations: 17.48 kB / 0.6668 GB, free: 5.285 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.905e-05/0.353, allocations: 3.875 kB / 0.6669 GB, free: 5.285 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.093e-05/0.353, allocations: 4.844 kB / 0.6669 GB, free: 5.285 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.924e-05/0.353, allocations: 14.39 kB / 0.6669 GB, free: 5.273 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.657e-05/0.3531, allocations: 26.14 kB / 0.6669 GB, free: 5.254 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 8.773e-05/0.3532, allocations: 58.12 kB / 0.667 GB, free: 5.211 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.855e-06/0.3532, allocations: 1.188 kB / 0.667 GB, free: 5.211 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.072e-06/0.3532, allocations: 0 / 0.667 GB, free: 5.211 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.555e-06/0.3532, allocations: 0 / 0.667 GB, free: 5.211 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.0003587/0.3536, allocations: 358.7 kB / 0.6673 GB, free: 4.836 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.111e-05/0.3536, allocations: 9.25 kB / 0.6673 GB, free: 4.836 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.114e-05/0.3536, allocations: 33.38 kB / 0.6673 GB, free: 4.797 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.433e-05/0.3537, allocations: 7.828 kB / 0.6673 GB, free: 4.793 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.09e-05/0.3537, allocations: 178.8 kB / 0.6675 GB, free: 4.582 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.047e-05/0.3538, allocations: 1.844 kB / 0.6675 GB, free: 4.582 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.728e-06/0.3538, allocations: 5.281 kB / 0.6675 GB, free: 4.582 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.606e-05/0.3539, allocations: 58.69 kB / 0.6676 GB, free: 4.531 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.133e-06/0.3539, allocations: 1.25 kB / 0.6676 GB, free: 4.531 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.887e-06/0.3539, allocations: 7.984 kB / 0.6676 GB, free: 4.523 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.398e-06/0.3539, allocations: 1.281 kB / 0.6676 GB, free: 4.523 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.422e-05/0.354, allocations: 21.92 kB / 0.6676 GB, free: 4.516 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000334/0.3543, allocations: 304.9 kB / 0.6679 GB, free: 4.195 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 8.273e-05/0.3544, allocations: 53.66 kB / 0.6679 GB, free: 4.156 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.54e-05/0.3544, allocations: 24.44 kB / 0.668 GB, free: 4.141 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 9.728e-06/0.3544, allocations: 1 kB / 0.668 GB, free: 4.141 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001159/0.3546, allocations: 79.98 kB / 0.668 GB, free: 4.066 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=9): time 1.393e-06/0.3546, allocations: 1.406 kB / 0.6681 GB, free: 4.066 MB / 0.4981 GB Notification: Performance of matching and sorting (n=9): time 0.0001828/0.3548, allocations: 100.6 kB / 0.6681 GB, free: 4.004 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.768e-05/0.3548, allocations: 58.09 kB / 0.6682 GB, free: 3.938 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.494e-05/0.3548, allocations: 108.3 kB / 0.6683 GB, free: 3.828 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 9.829e-06/0.3549, allocations: 27.17 kB / 0.6683 GB, free: 3.797 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.383e-05/0.3549, allocations: 93.08 kB / 0.6684 GB, free: 3.703 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.72e-05/0.3549, allocations: 19.92 kB / 0.6684 GB, free: 3.688 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.477e-05/0.3549, allocations: 30.06 kB / 0.6685 GB, free: 3.66 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 3.639e-05/0.355, allocations: 320.4 kB / 0.6688 GB, free: 3.34 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.191e-05/0.355, allocations: 18.59 kB / 0.6688 GB, free: 3.332 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.029e-05/0.3551, allocations: 43.77 kB / 0.6688 GB, free: 3.289 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.869e-05/0.3551, allocations: 67.05 kB / 0.6689 GB, free: 3.234 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.3551, allocations: 4 kB / 0.6689 GB, free: 3.23 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001162/0.3553, allocations: 106.7 kB / 0.669 GB, free: 3.156 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.188e-05/0.3553, allocations: 5.75 kB / 0.669 GB, free: 3.156 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.998e-06/0.3553, allocations: 1.094 kB / 0.669 GB, free: 3.156 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.158e-05/0.3553, allocations: 1.125 kB / 0.669 GB, free: 3.156 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.092e-05/0.3554, allocations: 9.125 kB / 0.669 GB, free: 3.156 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.069e-06/0.3554, allocations: 1.219 kB / 0.669 GB, free: 3.156 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.917e-05/0.3554, allocations: 11.7 kB / 0.669 GB, free: 3.148 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.673e-06/0.3555, allocations: 7.375 kB / 0.669 GB, free: 3.145 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 5.457e-05/0.3555, allocations: 131 kB / 0.6692 GB, free: 3.016 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.129e-05/0.3555, allocations: 6.828 kB / 0.6692 GB, free: 3.012 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.33e-05/0.3556, allocations: 9.406 kB / 0.6692 GB, free: 3.004 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.433e-06/0.3556, allocations: 0 / 0.6692 GB, free: 3.004 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.437e-06/0.3556, allocations: 5.484 kB / 0.6692 GB, free: 3 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.3556, allocations: 0 / 0.6692 GB, free: 3 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000279/0.3559, allocations: 359.7 kB / 0.6695 GB, free: 2.645 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.3559, allocations: 0 / 0.6695 GB, free: 2.645 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.383e-05/0.3559, allocations: 7.688 kB / 0.6695 GB, free: 2.641 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.3559, allocations: 5.031 kB / 0.6695 GB, free: 2.637 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.464e-06/0.3559, allocations: 5 kB / 0.6695 GB, free: 2.633 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.3559, allocations: 3.938 kB / 0.6695 GB, free: 2.629 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.3559, allocations: 0.9062 kB / 0.6695 GB, free: 2.629 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001115/0.3561, allocations: 179.1 kB / 0.6697 GB, free: 2.473 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.794e-05/0.3561, allocations: 87.5 kB / 0.6698 GB, free: 2.371 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.312e-05/0.3561, allocations: 5.344 kB / 0.6698 GB, free: 2.367 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.853e-05/0.3562, allocations: 18.61 kB / 0.6698 GB, free: 2.352 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.711e-05/0.3562, allocations: 8.828 kB / 0.6698 GB, free: 2.348 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.391e-06/0.3562, allocations: 1.406 kB / 0.6698 GB, free: 2.348 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.121e-05/0.3563, allocations: 83 kB / 0.6699 GB, free: 2.27 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3563, allocations: 1.312 kB / 0.6699 GB, free: 2.27 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000217/0.3565, allocations: 10.59 kB / 0.6699 GB, free: 2.27 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.000257/0.3567, allocations: 0.7214 MB / 0.6706 GB, free: 1.574 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001118/0.3569, allocations: 48.7 kB / 0.6707 GB, free: 1.559 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.3569, allocations: 0 / 0.6707 GB, free: 1.559 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 4.575e-05/0.3569, allocations: 29 kB / 0.6707 GB, free: 1.547 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002424/0.3572, allocations: 21.28 kB / 0.6707 GB, free: 1.531 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007583/0.3579, allocations: 1.365 MB / 0.6721 GB, free: 208 kB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002437/0.3582, allocations: 0.6828 MB / 0.6727 GB, free: 15.5 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 2.36e-05/0.3582, allocations: 7.922 kB / 0.6727 GB, free: 15.5 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.995e-05/0.3583, allocations: 20.72 kB / 0.6728 GB, free: 15.48 MB / 0.5137 GB Notification: Performance of SimCode: time 2.21e-07/0.3583, allocations: 0 / 0.6728 GB, free: 15.48 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1562/0.5145, allocations: 1.756 MB / 0.6745 GB, free: 14.54 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.966/8.481, allocations: 12.97 kB / 0.6745 GB, free: 14.53 MB / 0.5137 GB (rm -f IDEAS_dev_IDEAS.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe >> ../files/IDEAS_dev_IDEAS.Controls.Continuous.Validation.OffTimerNonZeroStart.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Controls_Continuous_Validation_OffTimerNonZeroStart_fmu --startTime=-1 --stopTime=0 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Controls_Continuous_Validation_OffTimerNonZeroStart.fmu > IDEAS_dev_IDEAS.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe 2>&1)