Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Controls.Continuous.Examples.OffTimer.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.Examples.OffTimer,fileNamePrefix="IDEAS_IDEAS_Controls_Continuous_Examples_OffTimer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.Continuous.Examples.OffTimer,fileNamePrefix="IDEAS_IDEAS_Controls_Continuous_Examples_OffTimer",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.00179/0.00179, allocations: 100.1 kB / 15.05 MB, free: 1.105 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.001977/0.001977, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.318/2.318, allocations: 223.2 MB / 239.9 MB, free: 5.457 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 1.125/1.125, allocations: 132.2 MB / 423.2 MB, free: 2.191 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000584/0.0005845, allocations: 8 kB / 0.5033 GB, free: 4.207 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8529/0.8535, allocations: 81.58 MB / 0.583 GB, free: 4.023 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.OffTimer): time 0.002761/0.8564, allocations: 1.162 MB / 0.5841 GB, free: 3.176 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001134/0.8575, allocations: 430.3 kB / 0.5845 GB, free: 2.875 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.94e-05/0.8576, allocations: 1.219 kB / 0.5845 GB, free: 2.875 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 2.459e-05/0.8576, allocations: 5.203 kB / 0.5845 GB, free: 2.871 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001192/0.8578, allocations: 2.656 kB / 0.5845 GB, free: 2.871 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002216/0.858, allocations: 19.27 kB / 0.5845 GB, free: 2.859 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001191/0.8581, allocations: 32.27 kB / 0.5846 GB, free: 2.844 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001664/0.8583, allocations: 14.97 kB / 0.5846 GB, free: 2.836 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.922e-05/0.8584, allocations: 17.62 kB / 0.5846 GB, free: 2.828 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001024/0.8585, allocations: 17.94 kB / 0.5846 GB, free: 2.82 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.657e-05/0.8586, allocations: 1.812 kB / 0.5846 GB, free: 2.82 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.816e-05/0.8586, allocations: 2.188 kB / 0.5846 GB, free: 2.82 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 3.102e-05/0.8586, allocations: 8.812 kB / 0.5846 GB, free: 2.816 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 6.04e-05/0.8587, allocations: 34.83 kB / 0.5847 GB, free: 2.781 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001231/0.8588, allocations: 30.19 kB / 0.5847 GB, free: 2.773 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.838e-06/0.8588, allocations: 0 / 0.5847 GB, free: 2.773 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.545e-06/0.8589, allocations: 0.7812 kB / 0.5847 GB, free: 2.773 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.098e-05/0.8589, allocations: 4 kB / 0.5847 GB, free: 2.77 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.000712/0.8596, allocations: 358.3 kB / 0.585 GB, free: 2.406 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.677e-05/0.8597, allocations: 13.53 kB / 0.585 GB, free: 2.402 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.57e-05/0.8597, allocations: 37.92 kB / 0.5851 GB, free: 2.359 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.747e-05/0.8598, allocations: 6.812 kB / 0.5851 GB, free: 2.355 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001571/0.86, allocations: 167 kB / 0.5852 GB, free: 2.156 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.242e-05/0.86, allocations: 6.5 kB / 0.5852 GB, free: 2.152 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.655e-05/0.86, allocations: 8.688 kB / 0.5853 GB, free: 2.148 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001987/0.8602, allocations: 61.89 kB / 0.5853 GB, free: 2.102 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.202e-05/0.8603, allocations: 0 / 0.5853 GB, free: 2.102 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.652e-05/0.8603, allocations: 0.5625 kB / 0.5853 GB, free: 2.102 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.588e-06/0.8603, allocations: 1.781 kB / 0.5853 GB, free: 2.102 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001168/0.8604, allocations: 26.17 kB / 0.5853 GB, free: 2.094 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007687/0.8612, allocations: 313.4 kB / 0.5856 GB, free: 1.797 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001672/0.8614, allocations: 56 kB / 0.5857 GB, free: 1.758 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.747e-05/0.8614, allocations: 1.094 kB / 0.5857 GB, free: 1.758 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002918/0.8617, allocations: 70.45 kB / 0.5858 GB, free: 1.703 MB / 430.1 MB Notification: Performance of pre-optimization done (n=9): time 1.483e-06/0.8617, allocations: 4 kB / 0.5858 GB, free: 1.699 MB / 430.1 MB Notification: Performance of matching and sorting (n=9): time 0.000423/0.8622, allocations: 106.7 kB / 0.5859 GB, free: 1.637 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.754e-05/0.8623, allocations: 59.42 kB / 0.5859 GB, free: 1.57 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001362/0.8624, allocations: 103 kB / 0.586 GB, free: 1.469 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.659e-05/0.8624, allocations: 32.56 kB / 0.5861 GB, free: 1.434 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.433e-05/0.8625, allocations: 81.5 kB / 0.5861 GB, free: 1.352 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.705e-05/0.8626, allocations: 25.77 kB / 0.5862 GB, free: 1.332 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.084e-06/0.8626, allocations: 0 / 0.5862 GB, free: 1.332 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000128/0.8627, allocations: 322.3 kB / 0.5865 GB, free: 1.012 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.76e-05/0.8628, allocations: 15.95 kB / 0.5865 GB, free: 1.008 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001076/0.8629, allocations: 44.2 kB / 0.5865 GB, free: 0.9688 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.686e-05/0.863, allocations: 22.97 kB / 0.5865 GB, free: 0.957 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.863, allocations: 0.75 kB / 0.5865 GB, free: 0.957 MB / 430.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002338/0.8633, allocations: 97.27 kB / 0.5866 GB, free: 0.8984 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.242e-05/0.8633, allocations: 9.109 kB / 0.5866 GB, free: 0.8945 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.228e-05/0.8633, allocations: 1.875 kB / 0.5866 GB, free: 0.8945 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.383e-05/0.8634, allocations: 5.469 kB / 0.5867 GB, free: 0.8906 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001099/0.8635, allocations: 14.45 kB / 0.5867 GB, free: 0.8867 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.848e-05/0.8635, allocations: 8.562 kB / 0.5867 GB, free: 0.8789 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001041/0.8636, allocations: 12.83 kB / 0.5867 GB, free: 0.875 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.09e-05/0.8637, allocations: 4.203 kB / 0.5867 GB, free: 0.875 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,$whenCondition3,$whenCondition2,$PRE.booleanPulse.pulseStart,booleanPulse.pulseStart,not1.y,$PRE.offTim1.entryTime,offTim1.entryTime,$PRE.offTim2.entryTime,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001632/0.8638, allocations: 121.4 kB / 0.5868 GB, free: 0.7539 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.818e-05/0.8639, allocations: 6.078 kB / 0.5868 GB, free: 0.75 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.291e-05/0.8639, allocations: 9.891 kB / 0.5868 GB, free: 0.7383 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.42e-06/0.8639, allocations: 1.688 kB / 0.5868 GB, free: 0.7383 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.769e-06/0.8639, allocations: 288 / 0.5868 GB, free: 0.7383 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.176e-05/0.864, allocations: 4.656 kB / 0.5868 GB, free: 0.7344 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006075/0.8646, allocations: 363.6 kB / 0.5872 GB, free: 412 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.195e-06/0.8646, allocations: 1.281 kB / 0.5872 GB, free: 412 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.711e-05/0.8646, allocations: 13.05 kB / 0.5872 GB, free: 404 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/0.8647, allocations: 0 / 0.5872 GB, free: 404 kB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.555e-05/0.8647, allocations: 1.781 kB / 0.5872 GB, free: 404 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.39e-06/0.8647, allocations: 5.453 kB / 0.5872 GB, free: 400 kB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.8647, allocations: 0 / 0.5872 GB, free: 400 kB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002616/0.865, allocations: 181.8 kB / 0.5874 GB, free: 244 kB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.84e-05/0.865, allocations: 79.41 kB / 0.5874 GB, free: 148 kB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.052e-05/0.8651, allocations: 6 kB / 0.5875 GB, free: 144 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001381/0.8652, allocations: 11.48 kB / 0.5875 GB, free: 140 kB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.847e-05/0.8653, allocations: 16.06 kB / 0.5875 GB, free: 132 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.385e-05/0.8654, allocations: 2.953 kB / 0.5875 GB, free: 132 kB / 430.1 MB Notification: Performance of sorting global known variables: time 5.176e-05/0.8654, allocations: 80.28 kB / 0.5876 GB, free: 56 kB / 430.1 MB Notification: Performance of sort global known variables: time 2.61e-07/0.8654, allocations: 3.938 kB / 0.5876 GB, free: 52 kB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003615/0.8658, allocations: 15.44 kB / 0.5876 GB, free: 48 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007971/0.8666, allocations: 0.7117 MB / 0.5883 GB, free: 15.36 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002398/0.8669, allocations: 52.64 kB / 0.5883 GB, free: 15.35 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.148e-06/0.8669, allocations: 0.8125 kB / 0.5883 GB, free: 15.35 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000113/0.867, allocations: 27.47 kB / 0.5883 GB, free: 15.34 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003505/0.8674, allocations: 14.34 kB / 0.5884 GB, free: 15.33 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00186/0.8692, allocations: 0.938 MB / 0.5893 GB, free: 14.47 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004458/0.8697, allocations: 0.6876 MB / 0.5899 GB, free: 13.78 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 5.268e-05/0.8698, allocations: 6 kB / 0.59 GB, free: 13.78 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.81e-05/0.8698, allocations: 16.09 kB / 0.59 GB, free: 13.77 MB / 446.1 MB Notification: Performance of SimCode: time 5.51e-07/0.8698, allocations: 0 / 0.59 GB, free: 13.77 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01992/0.8898, allocations: 1.441 MB / 0.5914 GB, free: 13.61 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003391/0.8902, allocations: 168.2 kB / 0.5915 GB, free: 13.37 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.829/3.719, allocations: 0 / 0.5915 GB, free: 13.37 MB / 446.1 MB (rm -f IDEAS_IDEAS.Controls.Continuous.Examples.OffTimer.pipe ; mkfifo IDEAS_IDEAS.Controls.Continuous.Examples.OffTimer.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.Continuous.Examples.OffTimer.pipe >> ../files/IDEAS_IDEAS.Controls.Continuous.Examples.OffTimer.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Controls_Continuous_Examples_OffTimer_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Controls_Continuous_Examples_OffTimer.fmu > IDEAS_IDEAS.Controls.Continuous.Examples.OffTimer.pipe 2>&1) Environment - environmentSimulation: