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.001141/0.001141, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001369/0.001369, allocations: 198.6 kB / 16.54 MB, free: 6.672 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.363/1.363, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9294/0.9294, allocations: 135.1 MB / 425.5 MB, free: 12.01 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001321/0.001321, allocations: 59.81 kB / 0.5054 GB, free: 5.215 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1882/0.1895, allocations: 80.93 MB / 0.5845 GB, free: 4.438 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Validation.OffTimerNonZeroStart): time 0.002966/0.1926, allocations: 1.464 MB / 0.5859 GB, free: 2.957 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007428/0.1933, allocations: 440.6 kB / 0.5863 GB, free: 2.523 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.083e-05/0.1934, allocations: 0 / 0.5863 GB, free: 2.523 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.059e-05/0.1934, allocations: 11.92 kB / 0.5863 GB, free: 2.512 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 8.102e-05/0.1935, allocations: 3.938 kB / 0.5863 GB, free: 2.508 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001539/0.1937, allocations: 23.91 kB / 0.5864 GB, free: 2.484 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 8.252e-05/0.1938, allocations: 47.84 kB / 0.5864 GB, free: 2.438 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001126/0.1939, allocations: 12 kB / 0.5864 GB, free: 2.426 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.176e-05/0.194, allocations: 27.8 kB / 0.5864 GB, free: 2.398 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.785e-05/0.1941, allocations: 27.91 kB / 0.5865 GB, free: 2.371 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.85e-05/0.1941, allocations: 4 kB / 0.5865 GB, free: 2.367 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.334e-05/0.1941, allocations: 4 kB / 0.5865 GB, free: 2.363 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.287e-05/0.1941, allocations: 8 kB / 0.5865 GB, free: 2.355 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 5.139e-05/0.1942, allocations: 31.83 kB / 0.5865 GB, free: 2.324 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000107/0.1943, allocations: 44.17 kB / 0.5866 GB, free: 2.281 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.331e-06/0.1943, allocations: 0 / 0.5866 GB, free: 2.281 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.1943, allocations: 0 / 0.5866 GB, free: 2.281 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.039e-05/0.1943, allocations: 0 / 0.5866 GB, free: 2.281 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.0005515/0.1949, allocations: 363.4 kB / 0.5869 GB, free: 1.879 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.768e-05/0.1949, allocations: 8.031 kB / 0.5869 GB, free: 1.871 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.679e-05/0.195, allocations: 34.73 kB / 0.5869 GB, free: 1.828 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.354e-05/0.195, allocations: 8.844 kB / 0.587 GB, free: 1.82 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001485/0.1952, allocations: 176.3 kB / 0.5871 GB, free: 1.609 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.061e-05/0.1952, allocations: 384 / 0.5871 GB, free: 1.609 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.584e-05/0.1952, allocations: 4.375 kB / 0.5871 GB, free: 1.605 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001251/0.1953, allocations: 65.73 kB / 0.5872 GB, free: 1.535 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.708e-06/0.1953, allocations: 0 / 0.5872 GB, free: 1.535 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.465e-05/0.1954, allocations: 4 kB / 0.5872 GB, free: 1.531 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.931e-06/0.1954, allocations: 4 kB / 0.5872 GB, free: 1.527 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.104e-05/0.1954, allocations: 27.92 kB / 0.5872 GB, free: 1.5 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005112/0.196, allocations: 304.7 kB / 0.5875 GB, free: 1.152 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001072/0.1961, allocations: 54.66 kB / 0.5876 GB, free: 1.09 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.095e-05/0.1961, allocations: 28.89 kB / 0.5876 GB, free: 1.059 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.236e-05/0.1961, allocations: 0 / 0.5876 GB, free: 1.059 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001812/0.1963, allocations: 71.38 kB / 0.5877 GB, free: 0.9766 MB / 494.1 MB Notification: Performance of pre-optimization done (n=9): time 1.312e-06/0.1963, allocations: 0 / 0.5877 GB, free: 0.9766 MB / 494.1 MB Notification: Performance of matching and sorting (n=9): time 0.0002392/0.1966, allocations: 105.5 kB / 0.5878 GB, free: 0.8672 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.444e-05/0.1966, allocations: 59.41 kB / 0.5878 GB, free: 0.7969 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.963e-05/0.1967, allocations: 101.8 kB / 0.5879 GB, free: 0.6875 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.179e-05/0.1968, allocations: 33.7 kB / 0.5879 GB, free: 0.6484 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.136e-05/0.1968, allocations: 88.05 kB / 0.588 GB, free: 0.5586 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.709e-05/0.1969, allocations: 19.75 kB / 0.588 GB, free: 0.5391 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.503e-05/0.1969, allocations: 29.7 kB / 0.5881 GB, free: 0.5039 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000123/0.197, allocations: 314.8 kB / 0.5884 GB, free: 192 kB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.868e-05/0.1971, allocations: 27.92 kB / 0.5884 GB, free: 164 kB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.211e-05/0.1971, allocations: 43.42 kB / 0.5884 GB, free: 108 kB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001085/0.1972, allocations: 63.38 kB / 0.5885 GB, free: 32 kB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.1973, allocations: 0 / 0.5885 GB, free: 32 kB / 494.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001553/0.1974, allocations: 101.8 kB / 0.5886 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.419e-05/0.1974, allocations: 8 kB / 0.5886 GB, free: 15.92 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.193e-06/0.1975, allocations: 4 kB / 0.5886 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.389e-05/0.1975, allocations: 0 / 0.5886 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.882e-05/0.1975, allocations: 11.98 kB / 0.5886 GB, free: 15.9 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.997e-06/0.1976, allocations: 11.97 kB / 0.5886 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.178e-05/0.1976, allocations: 7.938 kB / 0.5886 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.026e-05/0.1976, allocations: 7.938 kB / 0.5887 GB, free: 15.88 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 8.602e-05/0.1977, allocations: 121.8 kB / 0.5888 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.543e-05/0.1978, allocations: 7.906 kB / 0.5888 GB, free: 15.74 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.046e-05/0.1978, allocations: 7.969 kB / 0.5888 GB, free: 15.72 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.1978, allocations: 0 / 0.5888 GB, free: 15.72 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.1978, allocations: 0 / 0.5888 GB, free: 15.72 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.1978, allocations: 4 kB / 0.5888 GB, free: 15.72 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003891/0.1982, allocations: 358.4 kB / 0.5891 GB, free: 15.31 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.1982, allocations: 0 / 0.5891 GB, free: 15.31 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.883e-05/0.1983, allocations: 11.92 kB / 0.5891 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.754e-06/0.1983, allocations: 0 / 0.5891 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.876e-06/0.1983, allocations: 480 / 0.5891 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.377e-06/0.1983, allocations: 3.938 kB / 0.5891 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.1983, allocations: 0 / 0.5891 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000165/0.1985, allocations: 191.3 kB / 0.5893 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.519e-05/0.1985, allocations: 85.05 kB / 0.5894 GB, free: 14.99 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.522e-05/0.1985, allocations: 0 / 0.5894 GB, free: 14.99 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.6e-05/0.1986, allocations: 15.92 kB / 0.5894 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.177e-05/0.1987, allocations: 4 kB / 0.5894 GB, free: 14.97 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.503e-06/0.1987, allocations: 4 kB / 0.5894 GB, free: 14.97 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.497e-05/0.1987, allocations: 87.27 kB / 0.5895 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1988, allocations: 0 / 0.5895 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000236/0.199, allocations: 12 kB / 0.5895 GB, free: 14.87 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.0004297/0.1994, allocations: 0.7163 MB / 0.5902 GB, free: 14.13 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001697/0.1996, allocations: 51.92 kB / 0.5903 GB, free: 14.08 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.1996, allocations: 3.938 kB / 0.5903 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 5.405e-05/0.1997, allocations: 28.05 kB / 0.5903 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002671/0.2, allocations: 22.42 kB / 0.5903 GB, free: 14.03 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001312/0.2013, allocations: 1.36 MB / 0.5917 GB, free: 12.57 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002691/0.2016, allocations: 0.6846 MB / 0.5923 GB, free: 11.86 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.969e-05/0.2016, allocations: 7.984 kB / 0.5923 GB, free: 11.85 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.496e-05/0.2016, allocations: 15.44 kB / 0.5923 GB, free: 11.84 MB / 0.4981 GB Notification: Performance of SimCode: time 2.8e-07/0.2016, allocations: 0 / 0.5923 GB, free: 11.84 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01881/0.2205, allocations: 1.74 MB / 0.594 GB, free: 10.21 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.172/7.393, allocations: 6.5 kB / 0.5941 GB, free: 10.2 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 & 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)