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.001063/0.001063, allocations: 91.77 kB / 15.36 MB, free: 0.7383 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.008699/0.008699, allocations: 171.7 kB / 16.26 MB, free: 6.613 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.299/1.299, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7477/0.7477, allocations: 132.3 MB / 423.8 MB, free: 1.984 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003053/0.0003053, allocations: 8 kB / 0.5041 GB, free: 3.82 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.414/0.4143, allocations: 81.57 MB / 0.5837 GB, free: 3.898 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.OffTimer): time 0.001682/0.416, allocations: 1.187 MB / 0.5849 GB, free: 3.031 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006606/0.4167, allocations: 435.6 kB / 0.5853 GB, free: 2.73 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.048e-05/0.4167, allocations: 0 / 0.5853 GB, free: 2.73 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 2.049e-05/0.4168, allocations: 5.5 kB / 0.5853 GB, free: 2.727 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 8.851e-05/0.4169, allocations: 8.219 kB / 0.5853 GB, free: 2.723 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001593/0.417, allocations: 19.2 kB / 0.5853 GB, free: 2.711 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 9.661e-05/0.4171, allocations: 49.94 kB / 0.5854 GB, free: 2.688 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001159/0.4173, allocations: 12.77 kB / 0.5854 GB, free: 2.684 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.596e-05/0.4173, allocations: 22.66 kB / 0.5854 GB, free: 2.672 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.297e-05/0.4174, allocations: 16.61 kB / 0.5854 GB, free: 2.664 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.011e-05/0.4174, allocations: 2.156 kB / 0.5854 GB, free: 2.664 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.348e-05/0.4174, allocations: 4.375 kB / 0.5854 GB, free: 2.664 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 2.361e-05/0.4175, allocations: 8.641 kB / 0.5855 GB, free: 2.66 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 4.887e-05/0.4175, allocations: 50.75 kB / 0.5855 GB, free: 2.613 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 9.867e-05/0.4176, allocations: 35.81 kB / 0.5855 GB, free: 2.605 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.439e-06/0.4176, allocations: 1.094 kB / 0.5855 GB, free: 2.605 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.914e-06/0.4177, allocations: 0 / 0.5855 GB, free: 2.605 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.637e-06/0.4177, allocations: 0 / 0.5855 GB, free: 2.605 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.0004511/0.4181, allocations: 357.5 kB / 0.5859 GB, free: 2.242 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.763e-05/0.4182, allocations: 9.562 kB / 0.5859 GB, free: 2.242 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.431e-05/0.4182, allocations: 37.86 kB / 0.5859 GB, free: 2.199 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.001e-05/0.4182, allocations: 8.703 kB / 0.5859 GB, free: 2.195 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.67e-05/0.4184, allocations: 168 kB / 0.5861 GB, free: 1.996 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.179e-05/0.4184, allocations: 7.047 kB / 0.5861 GB, free: 1.992 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.619e-05/0.4184, allocations: 5.203 kB / 0.5861 GB, free: 1.992 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001337/0.4185, allocations: 65.77 kB / 0.5862 GB, free: 1.941 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.112e-05/0.4185, allocations: 0.6562 kB / 0.5862 GB, free: 1.941 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.133e-05/0.4186, allocations: 0 / 0.5862 GB, free: 1.941 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.432e-06/0.4186, allocations: 1.219 kB / 0.5862 GB, free: 1.941 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.652e-05/0.4187, allocations: 30.61 kB / 0.5862 GB, free: 1.93 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004848/0.4192, allocations: 312.8 kB / 0.5865 GB, free: 1.633 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000105/0.4193, allocations: 54.23 kB / 0.5865 GB, free: 1.598 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.83e-05/0.4193, allocations: 31.69 kB / 0.5866 GB, free: 1.578 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.083e-05/0.4193, allocations: 0 / 0.5866 GB, free: 1.578 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001677/0.4195, allocations: 77.44 kB / 0.5867 GB, free: 1.516 MB / 430.1 MB Notification: Performance of pre-optimization done (n=9): time 2.625e-06/0.4195, allocations: 4.656 kB / 0.5867 GB, free: 1.512 MB / 430.1 MB Notification: Performance of matching and sorting (n=9): time 0.000223/0.4198, allocations: 100.3 kB / 0.5868 GB, free: 1.457 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.728e-05/0.4198, allocations: 54.41 kB / 0.5868 GB, free: 1.395 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.158e-05/0.4199, allocations: 103.7 kB / 0.5869 GB, free: 1.293 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.72e-05/0.4199, allocations: 31.02 kB / 0.5869 GB, free: 1.258 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.225e-05/0.4199, allocations: 87.28 kB / 0.587 GB, free: 1.172 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.832e-05/0.42, allocations: 16.33 kB / 0.587 GB, free: 1.16 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.351e-05/0.42, allocations: 21.02 kB / 0.5871 GB, free: 1.141 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 7.9e-05/0.4201, allocations: 321.5 kB / 0.5874 GB, free: 0.8203 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.208e-05/0.4202, allocations: 20.02 kB / 0.5874 GB, free: 0.8125 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.836e-05/0.4202, allocations: 48.38 kB / 0.5874 GB, free: 0.7695 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001075/0.4203, allocations: 68.94 kB / 0.5875 GB, free: 0.7148 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.4203, allocations: 1 kB / 0.5875 GB, free: 0.7148 MB / 430.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.00016/0.4205, allocations: 93.39 kB / 0.5876 GB, free: 0.6602 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.991e-05/0.4205, allocations: 10.09 kB / 0.5876 GB, free: 0.6562 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.4206, allocations: 0.5938 kB / 0.5876 GB, free: 0.6562 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.614e-05/0.4206, allocations: 2.703 kB / 0.5876 GB, free: 0.6562 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.502e-05/0.4207, allocations: 13.53 kB / 0.5876 GB, free: 0.6523 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.768e-06/0.4207, allocations: 13.17 kB / 0.5876 GB, free: 0.6406 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.001e-05/0.4208, allocations: 12.59 kB / 0.5876 GB, free: 0.6367 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.056e-05/0.4208, allocations: 7.797 kB / 0.5876 GB, free: 0.6328 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.073e-05/0.4209, allocations: 117 kB / 0.5877 GB, free: 0.5156 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.294e-05/0.4209, allocations: 11.3 kB / 0.5878 GB, free: 0.5078 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.061e-05/0.4209, allocations: 9.516 kB / 0.5878 GB, free: 0.4961 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/0.4209, allocations: 1.375 kB / 0.5878 GB, free: 0.4961 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/0.4209, allocations: 3.938 kB / 0.5878 GB, free: 0.4922 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.419e-06/0.4209, allocations: 1.312 kB / 0.5878 GB, free: 0.4922 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003612/0.4213, allocations: 364.6 kB / 0.5881 GB, free: 164 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-06/0.4213, allocations: 4 kB / 0.5881 GB, free: 160 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.629e-05/0.4213, allocations: 4.281 kB / 0.5881 GB, free: 160 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.4214, allocations: 4.75 kB / 0.5881 GB, free: 156 kB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.648e-06/0.4214, allocations: 2.031 kB / 0.5881 GB, free: 156 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.876e-06/0.4214, allocations: 5.031 kB / 0.5881 GB, free: 152 kB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.4214, allocations: 0.75 kB / 0.5881 GB, free: 152 kB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001718/0.4216, allocations: 181.9 kB / 0.5883 GB, free: 15.99 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.192e-05/0.4216, allocations: 79.53 kB / 0.5884 GB, free: 15.9 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.658e-05/0.4216, allocations: 7 kB / 0.5884 GB, free: 15.89 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.317e-05/0.4217, allocations: 15.38 kB / 0.5884 GB, free: 15.89 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.544e-05/0.4218, allocations: 11.73 kB / 0.5884 GB, free: 15.88 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.211e-06/0.4218, allocations: 2.203 kB / 0.5884 GB, free: 15.88 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.356e-05/0.4219, allocations: 80.47 kB / 0.5885 GB, free: 15.81 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.4219, allocations: 0 / 0.5885 GB, free: 15.81 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002317/0.4221, allocations: 16.98 kB / 0.5885 GB, free: 15.8 MB / 446.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.0006255/0.4227, allocations: 0.7151 MB / 0.5892 GB, free: 15.12 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001486/0.4229, allocations: 54.28 kB / 0.5893 GB, free: 15.1 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.4229, allocations: 0 / 0.5893 GB, free: 15.1 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 6.257e-05/0.423, allocations: 27.48 kB / 0.5893 GB, free: 15.09 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002717/0.4232, allocations: 15.16 kB / 0.5893 GB, free: 15.09 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001523/0.4248, allocations: 1.391 MB / 0.5907 GB, free: 13.79 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002801/0.4251, allocations: 0.6886 MB / 0.5913 GB, free: 13.09 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 3.232e-05/0.4251, allocations: 5.875 kB / 0.5913 GB, free: 13.09 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.611e-05/0.4252, allocations: 17.56 kB / 0.5914 GB, free: 13.08 MB / 446.1 MB Notification: Performance of SimCode: time 4.61e-07/0.4252, allocations: 0 / 0.5914 GB, free: 13.08 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01167/0.4368, allocations: 1.456 MB / 0.5928 GB, free: 12.91 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002215/0.4371, allocations: 184.3 kB / 0.593 GB, free: 12.66 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.739/2.176, allocations: 0.5938 kB / 0.593 GB, free: 12.66 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/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)