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.001334/0.001334, 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.001379/0.001379, allocations: 187.8 kB / 16.25 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.273/1.273, allocations: 222.9 MB / 239.9 MB, free: 4.484 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6705/0.6705, allocations: 132.2 MB / 422.3 MB, free: 1.898 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001297/0.001297, allocations: 59.34 kB / 0.5013 GB, free: 4.082 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.322/0.3233, allocations: 80.2 MB / 0.5797 GB, free: 4.535 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.OffTimer): time 0.002169/0.3255, allocations: 1.523 MB / 0.5811 GB, free: 3.484 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005293/0.3261, allocations: 444 kB / 0.5816 GB, free: 3.176 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.318e-05/0.3261, allocations: 1.156 kB / 0.5816 GB, free: 3.176 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 3.016e-05/0.3262, allocations: 1.5 kB / 0.5816 GB, free: 3.176 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 6.591e-05/0.3262, allocations: 14.84 kB / 0.5816 GB, free: 3.164 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001158/0.3263, allocations: 18.94 kB / 0.5816 GB, free: 3.152 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 7.114e-05/0.3264, allocations: 54.89 kB / 0.5817 GB, free: 3.125 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.311e-05/0.3265, allocations: 11.61 kB / 0.5817 GB, free: 3.121 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.558e-05/0.3266, allocations: 26.78 kB / 0.5817 GB, free: 3.105 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.731e-05/0.3266, allocations: 22.92 kB / 0.5817 GB, free: 3.094 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.557e-05/0.3266, allocations: 4.312 kB / 0.5817 GB, free: 3.094 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.171e-05/0.3267, allocations: 3.969 kB / 0.5817 GB, free: 3.094 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.806e-05/0.3267, allocations: 9.656 kB / 0.5817 GB, free: 3.09 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 3.748e-05/0.3267, allocations: 25.92 kB / 0.5818 GB, free: 3.074 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 7.868e-05/0.3268, allocations: 41.3 kB / 0.5818 GB, free: 3.059 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.3268, allocations: 1.344 kB / 0.5818 GB, free: 3.059 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.3268, allocations: 0 / 0.5818 GB, free: 3.059 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.208e-06/0.3268, allocations: 0 / 0.5818 GB, free: 3.059 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.0003653/0.3272, allocations: 365.3 kB / 0.5821 GB, free: 2.688 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.361e-05/0.3272, allocations: 10.14 kB / 0.5822 GB, free: 2.688 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.493e-05/0.3273, allocations: 36.8 kB / 0.5822 GB, free: 2.645 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.232e-05/0.3273, allocations: 4.031 kB / 0.5822 GB, free: 2.645 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.104e-05/0.3274, allocations: 172.8 kB / 0.5824 GB, free: 2.441 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.166e-05/0.3274, allocations: 3.188 kB / 0.5824 GB, free: 2.441 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.175e-05/0.3274, allocations: 5.281 kB / 0.5824 GB, free: 2.441 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.492e-05/0.3275, allocations: 62.25 kB / 0.5824 GB, free: 2.395 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.392e-06/0.3275, allocations: 0 / 0.5824 GB, free: 2.395 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.608e-06/0.3275, allocations: 8.656 kB / 0.5824 GB, free: 2.387 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.386e-06/0.3275, allocations: 1.375 kB / 0.5824 GB, free: 2.387 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.904e-05/0.3276, allocations: 29.84 kB / 0.5825 GB, free: 2.375 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003588/0.328, allocations: 308.3 kB / 0.5828 GB, free: 2.078 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.809e-05/0.3281, allocations: 57.31 kB / 0.5828 GB, free: 2.039 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.761e-05/0.3281, allocations: 27.52 kB / 0.5828 GB, free: 2.023 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.04e-05/0.3281, allocations: 1.062 kB / 0.5828 GB, free: 2.023 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001305/0.3283, allocations: 70.36 kB / 0.5829 GB, free: 1.969 MB / 430.1 MB Notification: Performance of pre-optimization done (n=9): time 1.242e-06/0.3283, allocations: 0 / 0.5829 GB, free: 1.969 MB / 430.1 MB Notification: Performance of matching and sorting (n=9): time 0.0001874/0.3285, allocations: 104.3 kB / 0.583 GB, free: 1.91 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.513e-05/0.3285, allocations: 54.25 kB / 0.5831 GB, free: 1.848 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.799e-05/0.3286, allocations: 111.1 kB / 0.5832 GB, free: 1.738 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.133e-05/0.3286, allocations: 27.8 kB / 0.5832 GB, free: 1.707 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.317e-05/0.3286, allocations: 94.95 kB / 0.5833 GB, free: 1.613 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.811e-05/0.3286, allocations: 16.14 kB / 0.5833 GB, free: 1.602 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.685e-05/0.3287, allocations: 24.67 kB / 0.5833 GB, free: 1.582 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 3.68e-05/0.3287, allocations: 322.5 kB / 0.5836 GB, free: 1.262 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.253e-05/0.3287, allocations: 15.48 kB / 0.5836 GB, free: 1.258 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.24e-05/0.3288, allocations: 48.98 kB / 0.5837 GB, free: 1.215 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.879e-05/0.3289, allocations: 64.78 kB / 0.5838 GB, free: 1.164 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.3289, allocations: 1 kB / 0.5838 GB, free: 1.164 MB / 430.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001156/0.329, allocations: 97.17 kB / 0.5838 GB, free: 1.105 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.232e-05/0.329, allocations: 5.812 kB / 0.5839 GB, free: 1.105 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.329, allocations: 1.844 kB / 0.5839 GB, free: 1.105 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.02e-05/0.329, allocations: 4.719 kB / 0.5839 GB, free: 1.102 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.211e-05/0.3291, allocations: 13.47 kB / 0.5839 GB, free: 1.098 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.142e-06/0.3291, allocations: 2.75 kB / 0.5839 GB, free: 1.098 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.503e-05/0.3292, allocations: 14.05 kB / 0.5839 GB, free: 1.09 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.005e-06/0.3292, allocations: 11.56 kB / 0.5839 GB, free: 1.082 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.414e-05/0.3292, allocations: 121.4 kB / 0.584 GB, free: 0.9609 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.285e-05/0.3293, allocations: 7 kB / 0.584 GB, free: 0.957 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.454e-05/0.3293, allocations: 9.484 kB / 0.584 GB, free: 0.9453 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.3293, allocations: 1.5 kB / 0.584 GB, free: 0.9453 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.3293, allocations: 4.656 kB / 0.584 GB, free: 0.9414 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.297e-06/0.3293, allocations: 5.203 kB / 0.584 GB, free: 0.9375 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000281/0.3296, allocations: 356.1 kB / 0.5844 GB, free: 0.6094 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.3296, allocations: 1.438 kB / 0.5844 GB, free: 0.6094 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.368e-05/0.3296, allocations: 7.578 kB / 0.5844 GB, free: 0.6055 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.502e-06/0.3296, allocations: 1.062 kB / 0.5844 GB, free: 0.6055 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.035e-06/0.3297, allocations: 1.562 kB / 0.5844 GB, free: 0.6055 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.3297, allocations: 5.125 kB / 0.5844 GB, free: 0.6016 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.3297, allocations: 8.688 kB / 0.5844 GB, free: 0.5938 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000113/0.3298, allocations: 182.3 kB / 0.5846 GB, free: 452 kB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.648e-05/0.3298, allocations: 79.53 kB / 0.5847 GB, free: 356 kB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.332e-05/0.3298, allocations: 1.672 kB / 0.5847 GB, free: 356 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.895e-05/0.3299, allocations: 9.688 kB / 0.5847 GB, free: 352 kB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.561e-05/0.33, allocations: 11.06 kB / 0.5847 GB, free: 348 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.39e-06/0.33, allocations: 2.719 kB / 0.5847 GB, free: 348 kB / 430.1 MB Notification: Performance of sorting global known variables: time 2.141e-05/0.33, allocations: 89.52 kB / 0.5848 GB, free: 264 kB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.33, allocations: 0 / 0.5848 GB, free: 264 kB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002184/0.3302, allocations: 15.44 kB / 0.5848 GB, free: 260 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.0003531/0.3306, allocations: 0.7101 MB / 0.5855 GB, free: 15.57 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001288/0.3307, allocations: 67.19 kB / 0.5855 GB, free: 15.55 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.3307, allocations: 0 / 0.5855 GB, free: 15.55 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 4.83e-05/0.3308, allocations: 23.92 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.0002484/0.331, allocations: 16.3 kB / 0.5856 GB, free: 15.54 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001148/0.3322, allocations: 1.38 MB / 0.5869 GB, free: 14.24 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002184/0.3324, allocations: 0.688 MB / 0.5876 GB, free: 13.54 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.657e-05/0.3324, allocations: 6.531 kB / 0.5876 GB, free: 13.54 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.926e-05/0.3325, allocations: 17.27 kB / 0.5876 GB, free: 13.53 MB / 446.1 MB Notification: Performance of SimCode: time 2.1e-07/0.3325, allocations: 0 / 0.5876 GB, free: 13.53 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7071/1.04, allocations: 1.58 MB / 0.5892 GB, free: 13.28 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003064/1.04, allocations: 184.8 kB / 0.5893 GB, free: 13.02 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.873/2.913, allocations: 0 / 0.5893 GB, free: 13.02 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)