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.01388/0.01388, allocations: 103.3 kB / 15.73 MB, free: 6.043 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.001737/0.001737, allocations: 189 kB / 16.67 MB, free: 5.961 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.474/1.474, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8794/0.8794, allocations: 135.1 MB / 425.7 MB, free: 4.074 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001285/0.001285, allocations: 61.78 kB / 0.5851 GB, free: 21.89 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1858/0.1871, allocations: 80.92 MB / 0.6641 GB, free: 6.309 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Validation.OffTimerNonZeroStart): time 0.004342/0.1915, allocations: 1.481 MB / 0.6656 GB, free: 4.816 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0007774/0.1923, allocations: 442.9 kB / 0.666 GB, free: 4.379 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.067e-05/0.1924, allocations: 0 / 0.666 GB, free: 4.379 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.447e-05/0.1925, allocations: 7.922 kB / 0.666 GB, free: 4.371 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001025/0.1926, allocations: 3.938 kB / 0.666 GB, free: 4.367 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001881/0.1928, allocations: 27.91 kB / 0.666 GB, free: 4.34 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001217/0.1929, allocations: 51.84 kB / 0.6661 GB, free: 4.289 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001379/0.1931, allocations: 19.98 kB / 0.6661 GB, free: 4.27 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.034e-05/0.1931, allocations: 15.94 kB / 0.6661 GB, free: 4.254 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.554e-05/0.1932, allocations: 19.91 kB / 0.6661 GB, free: 4.234 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.133e-05/0.1932, allocations: 4 kB / 0.6661 GB, free: 4.23 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.382e-05/0.1933, allocations: 4 kB / 0.6661 GB, free: 4.227 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 3.283e-05/0.1933, allocations: 23.91 kB / 0.6662 GB, free: 4.203 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 4.615e-05/0.1933, allocations: 11.94 kB / 0.6662 GB, free: 4.191 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.000116/0.1935, allocations: 54.62 kB / 0.6662 GB, free: 4.141 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.1935, allocations: 0 / 0.6662 GB, free: 4.141 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.034e-06/0.1935, allocations: 0 / 0.6662 GB, free: 4.141 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.215e-06/0.1935, allocations: 0 / 0.6662 GB, free: 4.141 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.0005858/0.1941, allocations: 360.2 kB / 0.6666 GB, free: 3.742 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.628e-05/0.1941, allocations: 9.109 kB / 0.6666 GB, free: 3.734 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.056e-05/0.1942, allocations: 34.75 kB / 0.6666 GB, free: 3.691 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.327e-05/0.1942, allocations: 4.938 kB / 0.6666 GB, free: 3.688 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001729/0.1944, allocations: 180.2 kB / 0.6668 GB, free: 3.473 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.596e-05/0.1944, allocations: 4.375 kB / 0.6668 GB, free: 3.469 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.944e-05/0.1945, allocations: 8.359 kB / 0.6668 GB, free: 3.461 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001313/0.1946, allocations: 61.75 kB / 0.6669 GB, free: 3.395 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.238e-06/0.1946, allocations: 0 / 0.6669 GB, free: 3.395 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.041e-05/0.1946, allocations: 0 / 0.6669 GB, free: 3.395 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.103e-06/0.1946, allocations: 4 kB / 0.6669 GB, free: 3.391 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.464e-05/0.1947, allocations: 23.97 kB / 0.6669 GB, free: 3.367 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005263/0.1952, allocations: 304.7 kB / 0.6672 GB, free: 3.02 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001189/0.1954, allocations: 54.56 kB / 0.6672 GB, free: 2.957 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.588e-05/0.1954, allocations: 24.94 kB / 0.6673 GB, free: 2.93 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.127e-05/0.1954, allocations: 0 / 0.6673 GB, free: 2.93 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001877/0.1956, allocations: 79.27 kB / 0.6673 GB, free: 2.84 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=9): time 1.393e-06/0.1956, allocations: 4 kB / 0.6673 GB, free: 2.836 MB / 0.4981 GB Notification: Performance of matching and sorting (n=9): time 0.0002445/0.1959, allocations: 97.61 kB / 0.6674 GB, free: 2.734 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.191e-05/0.196, allocations: 59.41 kB / 0.6675 GB, free: 2.664 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.437e-05/0.1961, allocations: 113.7 kB / 0.6676 GB, free: 2.543 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.851e-05/0.1961, allocations: 25.7 kB / 0.6676 GB, free: 2.512 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.08e-05/0.1961, allocations: 84.14 kB / 0.6677 GB, free: 2.426 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.992e-05/0.1962, allocations: 27.64 kB / 0.6677 GB, free: 2.398 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.398e-05/0.1962, allocations: 25.72 kB / 0.6678 GB, free: 2.367 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000132/0.1964, allocations: 326.8 kB / 0.6681 GB, free: 2.039 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.976e-05/0.1964, allocations: 16 kB / 0.6681 GB, free: 2.023 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.94e-05/0.1965, allocations: 47.36 kB / 0.6681 GB, free: 1.965 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001146/0.1966, allocations: 67.36 kB / 0.6682 GB, free: 1.887 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.1966, allocations: 4 kB / 0.6682 GB, free: 1.883 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001505/0.1968, allocations: 97.61 kB / 0.6683 GB, free: 1.781 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.607e-05/0.1968, allocations: 4 kB / 0.6683 GB, free: 1.777 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.1968, allocations: 0 / 0.6683 GB, free: 1.777 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.617e-05/0.1968, allocations: 4 kB / 0.6683 GB, free: 1.773 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.261e-05/0.1969, allocations: 11.94 kB / 0.6683 GB, free: 1.762 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.161e-06/0.1969, allocations: 0 / 0.6683 GB, free: 1.762 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.928e-05/0.197, allocations: 11.89 kB / 0.6683 GB, free: 1.75 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.394e-05/0.197, allocations: 12.22 kB / 0.6683 GB, free: 1.738 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.0001017/0.1971, allocations: 121.9 kB / 0.6684 GB, free: 1.609 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.373e-05/0.1971, allocations: 4 kB / 0.6684 GB, free: 1.605 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.255e-05/0.1972, allocations: 7.969 kB / 0.6685 GB, free: 1.598 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.442e-06/0.1972, allocations: 4 kB / 0.6685 GB, free: 1.594 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.1972, allocations: 3.938 kB / 0.6685 GB, free: 1.59 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.061e-06/0.1972, allocations: 3.984 kB / 0.6685 GB, free: 1.586 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004282/0.1976, allocations: 362.7 kB / 0.6688 GB, free: 1.176 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.1977, allocations: 96 / 0.6688 GB, free: 1.176 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.79e-05/0.1977, allocations: 7.938 kB / 0.6688 GB, free: 1.168 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.1977, allocations: 4 kB / 0.6688 GB, free: 1.164 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.132e-05/0.1977, allocations: 0 / 0.6688 GB, free: 1.164 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.948e-06/0.1977, allocations: 11.88 kB / 0.6688 GB, free: 1.152 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.1977, allocations: 0 / 0.6688 GB, free: 1.152 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001825/0.1979, allocations: 179.5 kB / 0.669 GB, free: 0.9609 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.254e-05/0.198, allocations: 81.02 kB / 0.6691 GB, free: 0.8633 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.472e-05/0.198, allocations: 0 / 0.6691 GB, free: 0.8633 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.494e-05/0.1981, allocations: 15.98 kB / 0.6691 GB, free: 0.8477 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.31e-05/0.1981, allocations: 15.98 kB / 0.6691 GB, free: 0.832 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.503e-06/0.1982, allocations: 4 kB / 0.6691 GB, free: 0.8281 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.508e-05/0.1982, allocations: 83.28 kB / 0.6692 GB, free: 0.7461 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.51e-07/0.1982, allocations: 0 / 0.6692 GB, free: 0.7461 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002367/0.1985, allocations: 12 kB / 0.6692 GB, free: 0.7344 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.0004781/0.199, allocations: 0.7194 MB / 0.6699 GB, free: 16 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0001436/0.1991, allocations: 59.84 kB / 0.67 GB, free: 15.94 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.1991, allocations: 0 / 0.67 GB, free: 15.94 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 5.391e-05/0.1992, allocations: 24 kB / 0.67 GB, free: 15.91 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002775/0.1995, allocations: 20.23 kB / 0.67 GB, free: 15.89 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00139/0.2009, allocations: 1.365 MB / 0.6713 GB, free: 14.43 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002851/0.2012, allocations: 0.6846 MB / 0.672 GB, free: 13.72 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 2.984e-05/0.2012, allocations: 7.984 kB / 0.672 GB, free: 13.71 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.101e-05/0.2012, allocations: 19.44 kB / 0.672 GB, free: 13.69 MB / 0.5137 GB Notification: Performance of SimCode: time 2.2e-07/0.2013, allocations: 0 / 0.672 GB, free: 13.69 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02054/0.2218, allocations: 1.783 MB / 0.6738 GB, free: 12.01 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.678/7.9, allocations: 9.141 kB / 0.6738 GB, free: 12 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 & /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)