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.006245/0.006245, allocations: 100.5 kB / 15.73 MB, free: 6.047 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.00196/0.00196, allocations: 197.3 kB / 16.67 MB, free: 5.949 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.462/1.462, allocations: 222.9 MB / 240.4 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8802/0.8802, allocations: 135.6 MB / 426.1 MB, free: 3.676 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001872/0.001872, allocations: 65.58 kB / 0.5857 GB, free: 21.66 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1699/0.1717, allocations: 81.02 MB / 0.6648 GB, free: 5.641 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Validation.OffTimerNonZeroStart): time 0.003072/0.1749, allocations: 1.47 MB / 0.6663 GB, free: 4.16 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.000883/0.1758, allocations: 442.9 kB / 0.6667 GB, free: 3.723 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.702e-05/0.1758, allocations: 0 / 0.6667 GB, free: 3.723 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.34e-05/0.1759, allocations: 3.938 kB / 0.6667 GB, free: 3.719 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 7.177e-05/0.176, allocations: 7.938 kB / 0.6667 GB, free: 3.711 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001541/0.1761, allocations: 27.91 kB / 0.6667 GB, free: 3.684 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 9.419e-05/0.1762, allocations: 51.91 kB / 0.6668 GB, free: 3.633 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000106/0.1763, allocations: 11.98 kB / 0.6668 GB, free: 3.621 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.432e-05/0.1764, allocations: 23.86 kB / 0.6668 GB, free: 3.598 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.967e-05/0.1765, allocations: 19.92 kB / 0.6668 GB, free: 3.578 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.388e-05/0.1765, allocations: 8 kB / 0.6668 GB, free: 3.57 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.52e-05/0.1765, allocations: 4 kB / 0.6669 GB, free: 3.566 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.482e-05/0.1766, allocations: 11.92 kB / 0.6669 GB, free: 3.555 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 5.032e-05/0.1766, allocations: 27.91 kB / 0.6669 GB, free: 3.527 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001163/0.1767, allocations: 44.05 kB / 0.6669 GB, free: 3.484 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.1767, allocations: 4 kB / 0.6669 GB, free: 3.48 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.142e-06/0.1767, allocations: 0 / 0.6669 GB, free: 3.48 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.486e-06/0.1768, allocations: 0 / 0.6669 GB, free: 3.48 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.0005587/0.1773, allocations: 355.4 kB / 0.6673 GB, free: 3.086 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.858e-05/0.1774, allocations: 13.11 kB / 0.6673 GB, free: 3.074 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.761e-05/0.1774, allocations: 34.75 kB / 0.6673 GB, free: 3.031 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.876e-05/0.1774, allocations: 8.891 kB / 0.6673 GB, free: 3.023 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001543/0.1776, allocations: 180.2 kB / 0.6675 GB, free: 2.809 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.388e-05/0.1776, allocations: 8.312 kB / 0.6675 GB, free: 2.801 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.352e-05/0.1776, allocations: 8.375 kB / 0.6675 GB, free: 2.793 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001204/0.1778, allocations: 61.8 kB / 0.6676 GB, free: 2.727 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.105e-06/0.1778, allocations: 0 / 0.6676 GB, free: 2.727 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.178e-06/0.1778, allocations: 0 / 0.6676 GB, free: 2.727 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/0.1778, allocations: 0 / 0.6676 GB, free: 2.727 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.627e-05/0.1779, allocations: 31.92 kB / 0.6676 GB, free: 2.695 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005037/0.1784, allocations: 296.8 kB / 0.6679 GB, free: 2.355 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001115/0.1785, allocations: 54.59 kB / 0.6679 GB, free: 2.293 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.492e-05/0.1786, allocations: 24.94 kB / 0.668 GB, free: 2.266 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.312e-05/0.1786, allocations: 4 kB / 0.668 GB, free: 2.262 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001928/0.1788, allocations: 71.38 kB / 0.668 GB, free: 2.18 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=9): time 1.383e-06/0.1788, allocations: 0 / 0.668 GB, free: 2.18 MB / 0.4981 GB Notification: Performance of matching and sorting (n=9): time 0.000234/0.179, allocations: 109.6 kB / 0.6681 GB, free: 2.066 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.417e-05/0.1791, allocations: 51.41 kB / 0.6682 GB, free: 2.004 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.54e-05/0.1792, allocations: 105.8 kB / 0.6683 GB, free: 1.891 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.069e-05/0.1792, allocations: 33.64 kB / 0.6683 GB, free: 1.852 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.75e-05/0.1793, allocations: 92.08 kB / 0.6684 GB, free: 1.758 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.734e-05/0.1793, allocations: 23.78 kB / 0.6684 GB, free: 1.734 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.525e-05/0.1794, allocations: 29.7 kB / 0.6685 GB, free: 1.699 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001553/0.1795, allocations: 318.8 kB / 0.6688 GB, free: 1.379 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.985e-05/0.1796, allocations: 23.98 kB / 0.6688 GB, free: 1.355 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.768e-05/0.1797, allocations: 43.8 kB / 0.6688 GB, free: 1.301 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001034/0.1798, allocations: 63.38 kB / 0.6689 GB, free: 1.227 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.1798, allocations: 0 / 0.6689 GB, free: 1.227 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001539/0.1799, allocations: 97.8 kB / 0.669 GB, free: 1.125 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.65e-05/0.18, allocations: 15.97 kB / 0.669 GB, free: 1.109 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.13e-06/0.18, allocations: 0 / 0.669 GB, free: 1.109 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.388e-05/0.18, allocations: 48 / 0.669 GB, free: 1.109 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.666e-05/0.1801, allocations: 15.92 kB / 0.669 GB, free: 1.094 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.215e-06/0.1801, allocations: 4 kB / 0.669 GB, free: 1.09 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.648e-05/0.1801, allocations: 11.98 kB / 0.669 GB, free: 1.078 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.361e-05/0.1802, allocations: 11.92 kB / 0.669 GB, free: 1.066 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 0.0001071/0.1803, allocations: 113.8 kB / 0.6692 GB, free: 0.9453 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.259e-05/0.1803, allocations: 3.953 kB / 0.6692 GB, free: 0.9414 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.05e-05/0.1803, allocations: 19.95 kB / 0.6692 GB, free: 0.9219 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.1803, allocations: 0 / 0.6692 GB, free: 0.9219 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.1803, allocations: 0 / 0.6692 GB, free: 0.9219 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.1804, allocations: 0 / 0.6692 GB, free: 0.9219 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004395/0.1808, allocations: 358.4 kB / 0.6695 GB, free: 0.5156 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/0.1808, allocations: 4 kB / 0.6695 GB, free: 0.5117 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.49e-05/0.1808, allocations: 3.938 kB / 0.6695 GB, free: 0.5078 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.539e-06/0.1809, allocations: 4 kB / 0.6695 GB, free: 0.5039 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.417e-06/0.1809, allocations: 0 / 0.6695 GB, free: 0.5039 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.869e-06/0.1809, allocations: 7.938 kB / 0.6695 GB, free: 0.4961 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.478e-06/0.1809, allocations: 7.922 kB / 0.6695 GB, free: 500 kB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001821/0.1811, allocations: 179.4 kB / 0.6697 GB, free: 304 kB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.323e-05/0.1811, allocations: 85.06 kB / 0.6698 GB, free: 200 kB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.794e-05/0.1812, allocations: 7.984 kB / 0.6698 GB, free: 192 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.027e-05/0.1812, allocations: 7.938 kB / 0.6698 GB, free: 184 kB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.931e-05/0.1813, allocations: 7.984 kB / 0.6698 GB, free: 176 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.46e-06/0.1813, allocations: 4 kB / 0.6698 GB, free: 172 kB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.388e-05/0.1814, allocations: 83.28 kB / 0.6699 GB, free: 88 kB / 0.4981 GB Notification: Performance of sort global known variables: time 1.21e-07/0.1814, allocations: 0 / 0.6699 GB, free: 88 kB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002293/0.1816, allocations: 20.17 kB / 0.6699 GB, free: 68 kB / 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.0005525/0.1822, allocations: 0.7085 MB / 0.6706 GB, free: 15.33 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0001448/0.1823, allocations: 59.92 kB / 0.6707 GB, free: 15.27 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.1823, allocations: 0 / 0.6707 GB, free: 15.27 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 5.823e-05/0.1824, allocations: 27.92 kB / 0.6707 GB, free: 15.25 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002706/0.1827, allocations: 14 kB / 0.6707 GB, free: 15.23 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001398/0.1841, allocations: 1.365 MB / 0.672 GB, free: 13.77 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003685/0.1845, allocations: 0.6923 MB / 0.6727 GB, free: 13.05 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 2.796e-05/0.1845, allocations: 4 kB / 0.6727 GB, free: 13.05 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.925e-05/0.1845, allocations: 15.44 kB / 0.6727 GB, free: 13.03 MB / 0.5137 GB Notification: Performance of SimCode: time 2.01e-07/0.1846, allocations: 0 / 0.6727 GB, free: 13.03 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02334/0.2079, allocations: 1.763 MB / 0.6745 GB, free: 11.36 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.039/8.247, allocations: 21.69 kB / 0.6745 GB, free: 11.35 MB / 0.5137 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 & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Controls.Continuous.Validation.OffTimerNonZeroStart_res.csv --start-time -1 --stop-time 0 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_dev_IDEAS_Controls_Continuous_Validation_OffTimerNonZeroStart.fmu > IDEAS_dev_IDEAS.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe 2>&1)