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.0013/0.0013, 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.001045/0.001045, allocations: 194.9 kB / 16.25 MB, free: 6.625 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.297/1.297, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9045/0.9045, allocations: 135.1 MB / 425.2 MB, free: 11.88 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001443/0.001443, allocations: 56.75 kB / 0.505 GB, free: 5.547 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1454/0.1469, allocations: 80.93 MB / 0.584 GB, free: 4.781 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Validation.OffTimerNonZeroStart): time 0.003261/0.1502, allocations: 1.518 MB / 0.5855 GB, free: 3.246 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007063/0.1509, allocations: 435 kB / 0.5859 GB, free: 2.816 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.285e-05/0.151, allocations: 0 / 0.5859 GB, free: 2.816 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.761e-05/0.1511, allocations: 7.922 kB / 0.5859 GB, free: 2.809 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 7.999e-05/0.1512, allocations: 11.94 kB / 0.5859 GB, free: 2.797 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000152/0.1513, allocations: 15.98 kB / 0.5859 GB, free: 2.781 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 9.949e-05/0.1514, allocations: 55.78 kB / 0.586 GB, free: 2.727 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001126/0.1515, allocations: 15.98 kB / 0.586 GB, free: 2.711 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.724e-05/0.1516, allocations: 23.92 kB / 0.586 GB, free: 2.688 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.699e-05/0.1517, allocations: 19.92 kB / 0.586 GB, free: 2.668 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.865e-05/0.1517, allocations: 4 kB / 0.586 GB, free: 2.664 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.241e-05/0.1517, allocations: 4 kB / 0.586 GB, free: 2.66 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.093e-05/0.1517, allocations: 7.984 kB / 0.586 GB, free: 2.652 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.547e-05/0.1518, allocations: 27.86 kB / 0.5861 GB, free: 2.625 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 9.487e-05/0.1519, allocations: 40.16 kB / 0.5861 GB, free: 2.586 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.1519, allocations: 0 / 0.5861 GB, free: 2.586 MB / 494.1 MB Notification: Performance of FrontEnd: time 3.076e-06/0.1519, allocations: 0 / 0.5861 GB, free: 2.586 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.202e-06/0.1519, allocations: 7.938 kB / 0.5861 GB, free: 2.578 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.0005221/0.1524, allocations: 367.4 kB / 0.5865 GB, free: 2.172 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.384e-05/0.1525, allocations: 8.031 kB / 0.5865 GB, free: 2.164 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.63e-05/0.1525, allocations: 30.75 kB / 0.5865 GB, free: 2.125 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.181e-05/0.1526, allocations: 8.844 kB / 0.5865 GB, free: 2.117 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001235/0.1527, allocations: 172.3 kB / 0.5867 GB, free: 1.91 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.357e-05/0.1527, allocations: 8.312 kB / 0.5867 GB, free: 1.902 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.243e-05/0.1527, allocations: 4.375 kB / 0.5867 GB, free: 1.898 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001234/0.1529, allocations: 69.73 kB / 0.5868 GB, free: 1.824 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.202e-06/0.1529, allocations: 0 / 0.5868 GB, free: 1.824 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.827e-06/0.1529, allocations: 0 / 0.5868 GB, free: 1.824 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.65e-06/0.1529, allocations: 0 / 0.5868 GB, free: 1.824 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.401e-05/0.153, allocations: 27.98 kB / 0.5868 GB, free: 1.797 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004739/0.1535, allocations: 300.6 kB / 0.5871 GB, free: 1.453 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001073/0.1536, allocations: 62.56 kB / 0.5871 GB, free: 1.383 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.483e-05/0.1536, allocations: 28.94 kB / 0.5872 GB, free: 1.352 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.104e-05/0.1536, allocations: 0 / 0.5872 GB, free: 1.352 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001595/0.1538, allocations: 75.36 kB / 0.5872 GB, free: 1.266 MB / 494.1 MB Notification: Performance of pre-optimization done (n=9): time 1.633e-06/0.1538, allocations: 0 / 0.5872 GB, free: 1.266 MB / 494.1 MB Notification: Performance of matching and sorting (n=9): time 0.000246/0.1541, allocations: 109.5 kB / 0.5873 GB, free: 1.152 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.456e-05/0.1541, allocations: 55.41 kB / 0.5874 GB, free: 1.086 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.943e-05/0.1542, allocations: 105.8 kB / 0.5875 GB, free: 0.9727 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.912e-05/0.1542, allocations: 29.7 kB / 0.5875 GB, free: 0.9375 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.877e-05/0.1543, allocations: 88.05 kB / 0.5876 GB, free: 0.8477 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.78e-05/0.1543, allocations: 23.73 kB / 0.5876 GB, free: 0.8242 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.734e-05/0.1544, allocations: 21.72 kB / 0.5876 GB, free: 0.7969 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001189/0.1545, allocations: 322.8 kB / 0.588 GB, free: 484 kB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.846e-05/0.1546, allocations: 23.98 kB / 0.588 GB, free: 460 kB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.211e-05/0.1546, allocations: 39.44 kB / 0.588 GB, free: 408 kB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.567e-05/0.1547, allocations: 67.36 kB / 0.5881 GB, free: 328 kB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.1547, allocations: 0 / 0.5881 GB, free: 328 kB / 494.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001388/0.1549, allocations: 93.52 kB / 0.5882 GB, free: 228 kB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.772e-05/0.1549, allocations: 8.031 kB / 0.5882 GB, free: 220 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.742e-06/0.1549, allocations: 4 kB / 0.5882 GB, free: 216 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.357e-05/0.1549, allocations: 0 / 0.5882 GB, free: 216 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.518e-05/0.155, allocations: 23.88 kB / 0.5882 GB, free: 192 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.081e-06/0.155, allocations: 0 / 0.5882 GB, free: 192 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.414e-05/0.1551, allocations: 7.984 kB / 0.5882 GB, free: 184 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.277e-06/0.1551, allocations: 7.938 kB / 0.5882 GB, free: 176 kB / 494.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 9.238e-05/0.1552, allocations: 114.5 kB / 0.5883 GB, free: 52 kB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.619e-05/0.1552, allocations: 7.906 kB / 0.5883 GB, free: 44 kB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.293e-05/0.1553, allocations: 15.95 kB / 0.5883 GB, free: 20 kB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.824e-06/0.1553, allocations: 3.938 kB / 0.5884 GB, free: 16 kB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.1553, allocations: 0 / 0.5884 GB, free: 16 kB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.1553, allocations: 0 / 0.5884 GB, free: 16 kB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004174/0.1557, allocations: 362.8 kB / 0.5887 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.1557, allocations: 0 / 0.5887 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.84e-05/0.1558, allocations: 4 kB / 0.5887 GB, free: 15.6 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.276e-06/0.1558, allocations: 96 / 0.5887 GB, free: 15.6 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.909e-06/0.1558, allocations: 12 kB / 0.5887 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.748e-06/0.1558, allocations: 3.938 kB / 0.5887 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.1558, allocations: 0 / 0.5887 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001713/0.156, allocations: 187.4 kB / 0.5889 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.842e-05/0.156, allocations: 85.33 kB / 0.589 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.726e-05/0.156, allocations: 3.984 kB / 0.589 GB, free: 15.28 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.25e-05/0.1561, allocations: 7.938 kB / 0.589 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.489e-05/0.1562, allocations: 15.97 kB / 0.589 GB, free: 15.26 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.713e-06/0.1562, allocations: 8 kB / 0.589 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.589e-05/0.1563, allocations: 79.28 kB / 0.5891 GB, free: 15.17 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1563, allocations: 0 / 0.5891 GB, free: 15.17 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002369/0.1565, allocations: 12 kB / 0.5891 GB, free: 15.16 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.0004331/0.1569, allocations: 0.7201 MB / 0.5898 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001479/0.1571, allocations: 55.92 kB / 0.5899 GB, free: 14.36 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/0.1571, allocations: 4 kB / 0.5899 GB, free: 14.36 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 5.021e-05/0.1572, allocations: 27.92 kB / 0.5899 GB, free: 14.33 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002754/0.1575, allocations: 12.31 kB / 0.5899 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001228/0.1587, allocations: 1.377 MB / 0.5912 GB, free: 12.84 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002638/0.159, allocations: 0.6846 MB / 0.5919 GB, free: 12.13 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.007e-05/0.159, allocations: 4 kB / 0.5919 GB, free: 12.13 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.502e-05/0.1591, allocations: 19.42 kB / 0.5919 GB, free: 12.11 MB / 0.4981 GB Notification: Performance of SimCode: time 3.2e-07/0.1591, allocations: 0 / 0.5919 GB, free: 12.11 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1149/0.274, allocations: 1.607 MB / 0.5935 GB, free: 10.66 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002908/0.2743, allocations: 203.5 kB / 0.5937 GB, free: 10.4 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.97/2.245, allocations: 3.938 kB / 0.5937 GB, free: 10.4 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/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)