Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.Continuous.Validation.OffTimerNonZeroStart.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.Validation.OffTimerNonZeroStart,fileNamePrefix="IDEAS_dev_IDEAS_Controls_Continuous_Validation_OffTimerNonZeroStart",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.Continuous.Validation.OffTimerNonZeroStart,fileNamePrefix="IDEAS_dev_IDEAS_Controls_Continuous_Validation_OffTimerNonZeroStart",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.0008642/0.000864, allocations: 86.8 kB / 15.06 MB, free: 1.09 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.0008825/0.0008827, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.533/1.533, allocations: 223.2 MB / 240 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.066/1.066, allocations: 135.3 MB / 426.4 MB, free: 14.33 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003512/0.0003512, allocations: 8.844 kB / 0.5071 GB, free: 5.039 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2047/0.2051, allocations: 82.32 MB / 0.5875 GB, free: 2.891 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Validation.OffTimerNonZeroStart): time 0.001725/0.2069, allocations: 1.181 MB / 0.5886 GB, free: 1.695 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006743/0.2076, allocations: 407.4 kB / 0.589 GB, free: 1.293 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.007e-05/0.2076, allocations: 4 kB / 0.589 GB, free: 1.289 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.829e-05/0.2077, allocations: 0 / 0.589 GB, free: 1.289 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 8.973e-05/0.2078, allocations: 11.91 kB / 0.589 GB, free: 1.277 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001629/0.2079, allocations: 19.98 kB / 0.589 GB, free: 1.258 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 8.458e-05/0.208, allocations: 43.86 kB / 0.5891 GB, free: 1.215 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.807e-05/0.2081, allocations: 11.98 kB / 0.5891 GB, free: 1.203 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.877e-05/0.2082, allocations: 15.94 kB / 0.5891 GB, free: 1.188 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.994e-05/0.2083, allocations: 19.89 kB / 0.5891 GB, free: 1.168 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.702e-05/0.2083, allocations: 4 kB / 0.5891 GB, free: 1.164 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.978e-06/0.2083, allocations: 4 kB / 0.5891 GB, free: 1.16 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.682e-05/0.2083, allocations: 11.94 kB / 0.5892 GB, free: 1.148 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.713e-05/0.2084, allocations: 37.69 kB / 0.5892 GB, free: 1.105 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 6.484e-05/0.2084, allocations: 16.23 kB / 0.5892 GB, free: 1.09 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.2085, allocations: 4 kB / 0.5892 GB, free: 1.086 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.344e-06/0.2085, allocations: 0 / 0.5892 GB, free: 1.086 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.308e-06/0.2085, allocations: 0 / 0.5892 GB, free: 1.086 MB / 494.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.0005277/0.209, allocations: 359.2 kB / 0.5895 GB, free: 0.6875 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.461e-05/0.2091, allocations: 16.02 kB / 0.5896 GB, free: 0.6719 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.058e-05/0.2091, allocations: 30.56 kB / 0.5896 GB, free: 0.6328 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.189e-05/0.2091, allocations: 7.906 kB / 0.5896 GB, free: 0.625 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001485/0.2093, allocations: 170.9 kB / 0.5898 GB, free: 428 kB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.517e-05/0.2093, allocations: 8 kB / 0.5898 GB, free: 420 kB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.593e-05/0.2093, allocations: 7.984 kB / 0.5898 GB, free: 412 kB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001098/0.2095, allocations: 49.69 kB / 0.5898 GB, free: 356 kB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.305e-06/0.2095, allocations: 4 kB / 0.5898 GB, free: 352 kB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.193e-05/0.2095, allocations: 11.94 kB / 0.5898 GB, free: 340 kB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.2095, allocations: 0 / 0.5898 GB, free: 340 kB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.872e-05/0.2096, allocations: 19.98 kB / 0.5899 GB, free: 320 kB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005303/0.2101, allocations: 320.6 kB / 0.5902 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001069/0.2102, allocations: 50.59 kB / 0.5902 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.248e-05/0.2103, allocations: 24.91 kB / 0.5902 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.327e-05/0.2103, allocations: 4.094 kB / 0.5902 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001687/0.2105, allocations: 75.27 kB / 0.5903 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=9): time 1.393e-06/0.2105, allocations: 0 / 0.5903 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of matching and sorting (n=9): time 0.0002966/0.2108, allocations: 109.5 kB / 0.5904 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.413e-05/0.2108, allocations: 51.41 kB / 0.5905 GB, free: 15.6 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001357/0.211, allocations: 109.8 kB / 0.5906 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.871e-05/0.211, allocations: 25.7 kB / 0.5906 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.718e-05/0.2111, allocations: 88.14 kB / 0.5907 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.626e-05/0.2111, allocations: 23.64 kB / 0.5907 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.903e-06/0.2111, allocations: 4 kB / 0.5907 GB, free: 15.33 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001262/0.2112, allocations: 314.8 kB / 0.591 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.39e-05/0.2113, allocations: 19.98 kB / 0.591 GB, free: 15 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.987e-05/0.2113, allocations: 51.08 kB / 0.5911 GB, free: 14.94 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.579e-05/0.2114, allocations: 24.17 kB / 0.5911 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.2114, allocations: 0 / 0.5911 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001325/0.2115, allocations: 93.52 kB / 0.5912 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.705e-05/0.2116, allocations: 10.66 kB / 0.5912 GB, free: 14.81 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.049e-06/0.2116, allocations: 0 / 0.5912 GB, free: 14.81 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.128e-05/0.2116, allocations: 4.031 kB / 0.5912 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.597e-05/0.2117, allocations: 12 kB / 0.5912 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.518e-06/0.2117, allocations: 11.95 kB / 0.5912 GB, free: 14.78 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.254e-05/0.2117, allocations: 11.98 kB / 0.5912 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.392e-06/0.2118, allocations: 4 kB / 0.5912 GB, free: 14.77 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,$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.0001078/0.2119, allocations: 117.8 kB / 0.5914 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.358e-06/0.2119, allocations: 3.938 kB / 0.5914 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.364e-05/0.2119, allocations: 7.969 kB / 0.5914 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.537e-06/0.2119, allocations: 8 kB / 0.5914 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.02e-06/0.212, allocations: 0 / 0.5914 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.528e-06/0.212, allocations: 3.953 kB / 0.5914 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004094/0.2124, allocations: 370.6 kB / 0.5917 GB, free: 14.19 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.2124, allocations: 0 / 0.5917 GB, free: 14.19 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.46e-05/0.2124, allocations: 4 kB / 0.5917 GB, free: 14.19 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.883e-06/0.2124, allocations: 0 / 0.5917 GB, free: 14.19 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.064e-05/0.2124, allocations: 8 kB / 0.5917 GB, free: 14.18 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.086e-06/0.2125, allocations: 7.953 kB / 0.5917 GB, free: 14.17 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.2125, allocations: 0 / 0.5917 GB, free: 14.17 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001872/0.2127, allocations: 179.4 kB / 0.5919 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.752e-05/0.2127, allocations: 81.05 kB / 0.592 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.419e-05/0.2127, allocations: 4 kB / 0.592 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.385e-05/0.2128, allocations: 11.98 kB / 0.592 GB, free: 13.87 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.114e-05/0.2129, allocations: 15.94 kB / 0.592 GB, free: 13.85 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.97e-06/0.2129, allocations: 0 / 0.592 GB, free: 13.85 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.974e-05/0.213, allocations: 83.28 kB / 0.5921 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.213, allocations: 0 / 0.5921 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002304/0.2132, allocations: 16 kB / 0.5921 GB, free: 13.75 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 (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.000641/0.2138, allocations: 0.7202 MB / 0.5928 GB, free: 13.01 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001498/0.214, allocations: 51.92 kB / 0.5929 GB, free: 12.96 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.214, allocations: 3.938 kB / 0.5929 GB, free: 12.95 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 5.501e-05/0.2141, allocations: 20.28 kB / 0.5929 GB, free: 12.93 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003024/0.2144, allocations: 24.48 kB / 0.5929 GB, free: 12.91 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008606/0.2153, allocations: 481.4 kB / 0.5934 GB, free: 12.38 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003874/0.2157, allocations: 0.6848 MB / 0.594 GB, free: 11.67 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.82e-05/0.2157, allocations: 11.98 kB / 0.5941 GB, free: 11.66 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.955e-05/0.2158, allocations: 15.44 kB / 0.5941 GB, free: 11.64 MB / 0.4981 GB Notification: Performance of SimCode: time 2.31e-07/0.2158, allocations: 0 / 0.5941 GB, free: 11.64 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01282/0.2286, allocations: 1.481 MB / 0.5955 GB, free: 10.34 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002041/0.2289, allocations: 187.5 kB / 0.5957 GB, free: 10.1 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.79/2.019, allocations: 3.938 kB / 0.5957 GB, free: 10.09 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe >> ../files/IDEAS_dev_IDEAS.Controls.Continuous.Validation.OffTimerNonZeroStart.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Controls_Continuous_Validation_OffTimerNonZeroStart_fmu --startTime=-1 --stopTime=0 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Controls_Continuous_Validation_OffTimerNonZeroStart.fmu > IDEAS_dev_IDEAS.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe 2>&1) Environment - environmentSimulation: