Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-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.Examples.OffTimer,fileNamePrefix="IDEAS_dev_IDEAS_Controls_Continuous_Examples_OffTimer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.Continuous.Examples.OffTimer,fileNamePrefix="IDEAS_dev_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.004841/0.004841, allocations: 97.62 kB / 15.73 MB, free: 6.059 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.001222/0.001222, allocations: 197.7 kB / 16.68 MB, free: 5.977 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.393/1.393, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9296/0.9296, allocations: 135.6 MB / 426.1 MB, free: 11.8 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001932/0.001932, allocations: 67.89 kB / 0.5857 GB, free: 3.281 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3768/0.3788, allocations: 81.04 MB / 0.6648 GB, free: 6.855 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.OffTimer): time 0.001986/0.3808, allocations: 1.444 MB / 0.6662 GB, free: 5.723 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0004931/0.3813, allocations: 449.1 kB / 0.6667 GB, free: 5.375 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.673e-05/0.3814, allocations: 0 / 0.6667 GB, free: 5.375 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.253e-05/0.3814, allocations: 5.094 kB / 0.6667 GB, free: 5.371 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.624e-05/0.3815, allocations: 7.922 kB / 0.6667 GB, free: 5.363 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001195/0.3816, allocations: 28.06 kB / 0.6667 GB, free: 5.34 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.865e-05/0.3817, allocations: 45.05 kB / 0.6668 GB, free: 5.316 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.17e-05/0.3818, allocations: 17.02 kB / 0.6668 GB, free: 5.305 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.28e-05/0.3818, allocations: 24.11 kB / 0.6668 GB, free: 5.289 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.899e-05/0.3819, allocations: 24.94 kB / 0.6668 GB, free: 5.27 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.672e-05/0.3819, allocations: 5.188 kB / 0.6668 GB, free: 5.27 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.09e-05/0.3819, allocations: 7.719 kB / 0.6668 GB, free: 5.266 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.858e-05/0.3819, allocations: 14.14 kB / 0.6668 GB, free: 5.254 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.565e-05/0.382, allocations: 18.12 kB / 0.6669 GB, free: 5.242 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 8.257e-05/0.382, allocations: 48.78 kB / 0.6669 GB, free: 5.211 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.825e-06/0.3821, allocations: 0 / 0.6669 GB, free: 5.211 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.322e-06/0.3821, allocations: 0 / 0.6669 GB, free: 5.211 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.198e-06/0.3821, allocations: 0 / 0.6669 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.0003672/0.3824, allocations: 361.2 kB / 0.6673 GB, free: 4.832 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.31e-05/0.3825, allocations: 10.66 kB / 0.6673 GB, free: 4.832 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.329e-05/0.3825, allocations: 36.03 kB / 0.6673 GB, free: 4.789 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.519e-05/0.3825, allocations: 11.08 kB / 0.6673 GB, free: 4.781 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.362e-05/0.3826, allocations: 175.9 kB / 0.6675 GB, free: 4.574 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.788e-06/0.3826, allocations: 10.53 kB / 0.6675 GB, free: 4.566 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.234e-05/0.3827, allocations: 4 kB / 0.6675 GB, free: 4.566 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.092e-05/0.3828, allocations: 59.14 kB / 0.6675 GB, free: 4.516 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.374e-06/0.3828, allocations: 5.344 kB / 0.6676 GB, free: 4.512 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.055e-06/0.3828, allocations: 0 / 0.6676 GB, free: 4.512 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-06/0.3828, allocations: 1.344 kB / 0.6676 GB, free: 4.512 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.337e-05/0.3828, allocations: 26.39 kB / 0.6676 GB, free: 4.5 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003495/0.3832, allocations: 296.6 kB / 0.6679 GB, free: 4.188 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 8.331e-05/0.3833, allocations: 62.05 kB / 0.6679 GB, free: 4.141 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.635e-05/0.3833, allocations: 28.94 kB / 0.668 GB, free: 4.121 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 7.203e-06/0.3833, allocations: 0 / 0.668 GB, free: 4.121 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001294/0.3835, allocations: 75.67 kB / 0.668 GB, free: 4.051 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=9): time 1.272e-06/0.3835, allocations: 1.125 kB / 0.668 GB, free: 4.051 MB / 0.4981 GB Notification: Performance of matching and sorting (n=9): time 0.000183/0.3837, allocations: 105.1 kB / 0.6681 GB, free: 3.984 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.316e-05/0.3837, allocations: 54.62 kB / 0.6682 GB, free: 3.922 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.567e-05/0.3838, allocations: 107.6 kB / 0.6683 GB, free: 3.812 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.057e-05/0.3838, allocations: 31.17 kB / 0.6683 GB, free: 3.777 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.313e-05/0.3838, allocations: 93.39 kB / 0.6684 GB, free: 3.684 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.58e-05/0.3838, allocations: 15.2 kB / 0.6684 GB, free: 3.672 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.499e-05/0.3839, allocations: 30.52 kB / 0.6684 GB, free: 3.645 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 3.437e-05/0.3839, allocations: 320.2 kB / 0.6687 GB, free: 3.324 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.098e-05/0.3839, allocations: 18.42 kB / 0.6688 GB, free: 3.316 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.801e-05/0.384, allocations: 49.03 kB / 0.6688 GB, free: 3.27 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.558e-05/0.3841, allocations: 61.92 kB / 0.6689 GB, free: 3.219 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.3841, allocations: 1.375 kB / 0.6689 GB, free: 3.219 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001106/0.3842, allocations: 98.47 kB / 0.669 GB, free: 3.152 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.121e-05/0.3842, allocations: 5.469 kB / 0.669 GB, free: 3.152 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.937e-06/0.3842, allocations: 0 / 0.669 GB, free: 3.152 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.313e-05/0.3842, allocations: 1.625 kB / 0.669 GB, free: 3.152 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.948e-05/0.3843, allocations: 12.91 kB / 0.669 GB, free: 3.148 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.66e-06/0.3843, allocations: 1.469 kB / 0.669 GB, free: 3.148 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.944e-05/0.3844, allocations: 16.55 kB / 0.669 GB, free: 3.137 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.344e-06/0.3844, allocations: 6.656 kB / 0.669 GB, free: 3.133 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.042e-05/0.3844, allocations: 119.7 kB / 0.6691 GB, free: 3.012 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.075e-05/0.3844, allocations: 6.516 kB / 0.6691 GB, free: 3.008 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.271e-05/0.3845, allocations: 13.45 kB / 0.6691 GB, free: 2.996 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.3845, allocations: 4.281 kB / 0.6691 GB, free: 2.992 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.876e-06/0.3845, allocations: 5.25 kB / 0.6692 GB, free: 2.988 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.3845, allocations: 0 / 0.6692 GB, free: 2.988 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002698/0.3848, allocations: 355.4 kB / 0.6695 GB, free: 2.637 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.3848, allocations: 7.922 kB / 0.6695 GB, free: 2.629 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.37e-05/0.3848, allocations: 7.656 kB / 0.6695 GB, free: 2.625 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.3848, allocations: 1.312 kB / 0.6695 GB, free: 2.625 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.745e-06/0.3848, allocations: 1.375 kB / 0.6695 GB, free: 2.625 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.864e-06/0.3848, allocations: 3.938 kB / 0.6695 GB, free: 2.621 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.3848, allocations: 3.938 kB / 0.6695 GB, free: 2.617 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001081/0.3849, allocations: 185.1 kB / 0.6697 GB, free: 2.457 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.68e-05/0.385, allocations: 86.25 kB / 0.6698 GB, free: 2.355 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.282e-05/0.385, allocations: 5.047 kB / 0.6698 GB, free: 2.352 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.856e-05/0.3851, allocations: 6.75 kB / 0.6698 GB, free: 2.348 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.724e-05/0.3851, allocations: 16.33 kB / 0.6698 GB, free: 2.336 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.54e-06/0.3851, allocations: 2.656 kB / 0.6698 GB, free: 2.336 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 1.997e-05/0.3851, allocations: 79.12 kB / 0.6699 GB, free: 2.262 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3851, allocations: 4 kB / 0.6699 GB, free: 2.258 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002214/0.3854, allocations: 19.36 kB / 0.6699 GB, free: 2.25 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.0002308/0.3856, allocations: 0.7078 MB / 0.6706 GB, free: 1.57 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001142/0.3857, allocations: 52.73 kB / 0.6706 GB, free: 1.551 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.3857, allocations: 4.062 kB / 0.6706 GB, free: 1.547 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 4.456e-05/0.3858, allocations: 29.36 kB / 0.6707 GB, free: 1.535 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002406/0.386, allocations: 12.81 kB / 0.6707 GB, free: 1.527 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008968/0.3869, allocations: 1.381 MB / 0.672 GB, free: 196 kB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002713/0.3872, allocations: 0.6869 MB / 0.6727 GB, free: 15.49 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 2.504e-05/0.3872, allocations: 3.75 kB / 0.6727 GB, free: 15.49 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.426e-05/0.3873, allocations: 18.98 kB / 0.6727 GB, free: 15.47 MB / 0.5137 GB Notification: Performance of SimCode: time 2.2e-07/0.3873, allocations: 0 / 0.6727 GB, free: 15.47 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09525/0.4826, allocations: 1.765 MB / 0.6745 GB, free: 14.5 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.701/8.184, allocations: 16.16 kB / 0.6745 GB, free: 14.49 MB / 0.5137 GB (rm -f IDEAS_dev_IDEAS.Controls.Continuous.Examples.OffTimer.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.Continuous.Examples.OffTimer.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.Continuous.Examples.OffTimer.pipe >> ../files/IDEAS_dev_IDEAS.Controls.Continuous.Examples.OffTimer.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Controls_Continuous_Examples_OffTimer_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Controls_Continuous_Examples_OffTimer.fmu > IDEAS_dev_IDEAS.Controls.Continuous.Examples.OffTimer.pipe 2>&1)