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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001489/0.001489, allocations: 174.7 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7604/0.7604, allocations: 133.4 MB / 146.7 MB, free: 10.78 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.975/1.975, allocations: 221.3 MB / 400.4 MB, free: 5.836 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001125/0.001125, allocations: 97.34 kB / 483.3 MB, free: 5.883 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 3.256e-05/3.258e-05, allocations: 5.578 kB / 0.5601 GB, free: 87.84 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1972/0.1972, allocations: 82.3 MB / 0.6405 GB, free: 7.742 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8203/1.018, allocations: 111.9 MB / 0.7498 GB, free: 12.05 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002186/1.018, allocations: 76.23 kB / 0.7498 GB, free: 12.05 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.003411/1.021, allocations: 1.129 MB / 0.7509 GB, free: 27.7 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.144e-06/1.021, allocations: 3.938 kB / 0.7509 GB, free: 27.7 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 8.557e-06/1.021, allocations: 4 kB / 0.7509 GB, free: 27.7 MB / 0.5105 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.0004407/1.022, allocations: 344.7 kB / 0.7513 GB, free: 27.35 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.813e-05/1.022, allocations: 7.688 kB / 0.7513 GB, free: 27.35 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.581e-05/1.022, allocations: 40.38 kB / 0.7513 GB, free: 27.31 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.257e-05/1.022, allocations: 3.719 kB / 0.7513 GB, free: 27.31 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001411/1.022, allocations: 178.8 kB / 0.7515 GB, free: 27.11 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.571e-05/1.022, allocations: 7.844 kB / 0.7515 GB, free: 27.1 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.903e-05/1.022, allocations: 6.656 kB / 0.7515 GB, free: 27.1 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001265/1.022, allocations: 57.95 kB / 0.7516 GB, free: 27.07 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.313e-06/1.022, allocations: 0 / 0.7516 GB, free: 27.07 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.063e-05/1.022, allocations: 0 / 0.7516 GB, free: 27.07 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.376e-06/1.022, allocations: 0 / 0.7516 GB, free: 27.07 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.924e-05/1.022, allocations: 22.69 kB / 0.7516 GB, free: 27.07 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005503/1.023, allocations: 307 kB / 0.7519 GB, free: 26.79 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 9.84e-05/1.023, allocations: 54.86 kB / 0.7519 GB, free: 26.77 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.239e-05/1.023, allocations: 21.88 kB / 0.7519 GB, free: 26.76 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 1.456e-05/1.023, allocations: 0 / 0.7519 GB, free: 26.76 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001488/1.023, allocations: 80.64 kB / 0.752 GB, free: 26.71 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=9): time 1.432e-06/1.023, allocations: 0 / 0.752 GB, free: 26.71 MB / 0.5105 GB Notification: Performance of matching and sorting (n=9): time 0.0002156/1.023, allocations: 85.58 kB / 0.7521 GB, free: 26.66 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.37e-05/1.024, allocations: 58.97 kB / 0.7522 GB, free: 26.6 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.776e-05/1.024, allocations: 99.27 kB / 0.7523 GB, free: 26.51 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.031e-05/1.024, allocations: 33.36 kB / 0.7523 GB, free: 26.47 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 6.077e-05/1.024, allocations: 91.95 kB / 0.7524 GB, free: 26.38 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.563e-05/1.024, allocations: 22.02 kB / 0.7524 GB, free: 26.38 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.371e-06/1.024, allocations: 7.625 kB / 0.7524 GB, free: 26.37 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001379/1.024, allocations: 313.8 kB / 0.7527 GB, free: 26.06 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.581e-05/1.024, allocations: 18.75 kB / 0.7527 GB, free: 26.06 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.558e-05/1.024, allocations: 42.03 kB / 0.7528 GB, free: 26.03 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.133e-05/1.024, allocations: 17.03 kB / 0.7528 GB, free: 26.03 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.108e-06/1.024, allocations: 3.844 kB / 0.7528 GB, free: 26.03 MB / 0.5105 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001332/1.024, allocations: 96.86 kB / 0.7529 GB, free: 25.98 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.025e-05/1.024, allocations: 7.688 kB / 0.7529 GB, free: 25.98 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.663e-06/1.024, allocations: 3.094 kB / 0.7529 GB, free: 25.98 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.393e-05/1.024, allocations: 0 / 0.7529 GB, free: 25.98 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.911e-05/1.024, allocations: 11.34 kB / 0.7529 GB, free: 25.98 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.418e-06/1.024, allocations: 3.953 kB / 0.7529 GB, free: 25.98 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.518e-05/1.024, allocations: 18.3 kB / 0.7529 GB, free: 25.97 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.705e-06/1.024, allocations: 3.906 kB / 0.7529 GB, free: 25.97 MB / 0.5105 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,$whenCondition3,$whenCondition2,$PRE.booleanPulse.pulseStart,booleanPulse.pulseStart,not1.y,$PRE.offTim1.entryTime,offTim1.entryTime,$PRE.offTim2.entryTime,offTim2.entryTime) * Number of discrete 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 9.354e-05/1.025, allocations: 113.6 kB / 0.753 GB, free: 25.86 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.021e-05/1.025, allocations: 7.812 kB / 0.753 GB, free: 25.86 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.521e-05/1.025, allocations: 7.719 kB / 0.753 GB, free: 25.85 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.378e-06/1.025, allocations: 6.828 kB / 0.753 GB, free: 25.85 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/1.025, allocations: 0 / 0.753 GB, free: 25.85 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/1.025, allocations: 3.953 kB / 0.753 GB, free: 25.84 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003704/1.025, allocations: 351.9 kB / 0.7534 GB, free: 25.54 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/1.025, allocations: 2.906 kB / 0.7534 GB, free: 25.54 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.394e-05/1.025, allocations: 3.844 kB / 0.7534 GB, free: 25.54 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.076e-06/1.025, allocations: 0.75 kB / 0.7534 GB, free: 25.54 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.838e-06/1.025, allocations: 3.625 kB / 0.7534 GB, free: 25.54 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.344e-06/1.025, allocations: 7.797 kB / 0.7534 GB, free: 25.54 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.963e-06/1.025, allocations: 0 / 0.7534 GB, free: 25.54 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001676/1.025, allocations: 184.7 kB / 0.7536 GB, free: 25.39 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 4.014e-05/1.025, allocations: 80.7 kB / 0.7537 GB, free: 25.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.682e-05/1.025, allocations: 11.69 kB / 0.7537 GB, free: 25.29 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.384e-05/1.025, allocations: 10.19 kB / 0.7537 GB, free: 25.29 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.98e-05/1.026, allocations: 12.77 kB / 0.7537 GB, free: 25.29 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.581e-06/1.026, allocations: 0 / 0.7537 GB, free: 25.29 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 4.667e-05/1.026, allocations: 90.64 kB / 0.7538 GB, free: 25.21 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.31e-07/1.026, allocations: 0 / 0.7538 GB, free: 25.21 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002253/1.026, allocations: 15.06 kB / 0.7538 GB, free: 25.21 MB / 0.5105 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 () * 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.0004693/1.026, allocations: 0.7146 MB / 0.7545 GB, free: 24.54 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0001243/1.026, allocations: 49.47 kB / 0.7545 GB, free: 24.54 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/1.026, allocations: 0 / 0.7545 GB, free: 24.54 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 4.806e-05/1.026, allocations: 26.47 kB / 0.7546 GB, free: 24.54 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001993/1.027, allocations: 13.55 kB / 0.7546 GB, free: 24.53 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004694/1.027, allocations: 147.6 kB / 0.7547 GB, free: 24.42 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003028/1.027, allocations: 0.6936 MB / 0.7554 GB, free: 23.72 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 3.035e-05/1.028, allocations: 6.562 kB / 0.7554 GB, free: 23.72 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.648e-05/1.028, allocations: 18.53 kB / 0.7554 GB, free: 23.71 MB / 0.5105 GB Notification: Performance of SimCode: time 3.7e-07/1.028, allocations: 0 / 0.7554 GB, free: 23.71 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01656/1.044, allocations: 1.477 MB / 0.7569 GB, free: 23.52 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001787/1.044, allocations: 142.2 kB / 0.757 GB, free: 23.3 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.527/2.572, allocations: 0 / 0.757 GB, free: 23.3 MB / 0.5105 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/linux/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)