Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS_Controls_Continuous_Validation_OffTimerNonZeroStart",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.Continuous.Validation.OffTimerNonZeroStart,fileNamePrefix="IDEAS_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.001083/0.001083, allocations: 108 kB / 15.61 MB, free: 152 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.001534/0.001534, allocations: 194.8 kB / 16.53 MB, free: 6.699 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.287/1.287, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7266/0.7266, allocations: 132.2 MB / 422.6 MB, free: 1.738 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001277/0.001277, allocations: 64.38 kB / 0.5019 GB, free: 8.617 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1337/0.135, allocations: 80.2 MB / 0.5802 GB, free: 8.645 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Validation.OffTimerNonZeroStart): time 0.002594/0.1376, allocations: 1.479 MB / 0.5816 GB, free: 7.148 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006912/0.1384, allocations: 440.6 kB / 0.5821 GB, free: 6.715 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.646e-05/0.1384, allocations: 0 / 0.5821 GB, free: 6.715 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.78e-05/0.1385, allocations: 7.938 kB / 0.5821 GB, free: 6.707 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 8.209e-05/0.1386, allocations: 15.91 kB / 0.5821 GB, free: 6.691 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001391/0.1387, allocations: 23.92 kB / 0.5821 GB, free: 6.668 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 7.65e-05/0.1388, allocations: 43.92 kB / 0.5821 GB, free: 6.625 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.428e-05/0.1389, allocations: 11.98 kB / 0.5822 GB, free: 6.613 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.277e-05/0.139, allocations: 23.86 kB / 0.5822 GB, free: 6.59 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.658e-05/0.139, allocations: 23.91 kB / 0.5822 GB, free: 6.566 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.802e-05/0.139, allocations: 4 kB / 0.5822 GB, free: 6.562 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.322e-05/0.1391, allocations: 4 kB / 0.5822 GB, free: 6.559 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.388e-05/0.1391, allocations: 19.92 kB / 0.5822 GB, free: 6.539 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.696e-05/0.1391, allocations: 19.92 kB / 0.5822 GB, free: 6.52 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 9.293e-05/0.1392, allocations: 40.17 kB / 0.5823 GB, free: 6.48 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.1393, allocations: 7.875 kB / 0.5823 GB, free: 6.473 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.572e-06/0.1393, allocations: 0 / 0.5823 GB, free: 6.473 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.388e-06/0.1393, allocations: 0 / 0.5823 GB, free: 6.473 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.0004786/0.1397, allocations: 359.4 kB / 0.5826 GB, free: 6.074 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.744e-05/0.1398, allocations: 12.03 kB / 0.5826 GB, free: 6.062 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.124e-05/0.1398, allocations: 34.75 kB / 0.5827 GB, free: 6.02 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.13e-05/0.1399, allocations: 12.84 kB / 0.5827 GB, free: 6.008 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000117/0.14, allocations: 172.3 kB / 0.5829 GB, free: 5.801 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.257e-05/0.14, allocations: 8.312 kB / 0.5829 GB, free: 5.793 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.103e-05/0.14, allocations: 4.375 kB / 0.5829 GB, free: 5.789 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001084/0.1401, allocations: 57.8 kB / 0.5829 GB, free: 5.727 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.732e-06/0.1402, allocations: 4 kB / 0.5829 GB, free: 5.723 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.02e-05/0.1402, allocations: 4 kB / 0.5829 GB, free: 5.719 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.458e-06/0.1402, allocations: 0 / 0.5829 GB, free: 5.719 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.031e-05/0.1402, allocations: 23.98 kB / 0.5829 GB, free: 5.695 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004421/0.1407, allocations: 304.7 kB / 0.5832 GB, free: 5.348 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001086/0.1408, allocations: 54.59 kB / 0.5833 GB, free: 5.285 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.953e-05/0.1409, allocations: 24.89 kB / 0.5833 GB, free: 5.258 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.143e-05/0.1409, allocations: 4 kB / 0.5833 GB, free: 5.254 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001555/0.141, allocations: 75.42 kB / 0.5834 GB, free: 5.168 MB / 494.1 MB Notification: Performance of pre-optimization done (n=9): time 1.382e-06/0.141, allocations: 0 / 0.5834 GB, free: 5.168 MB / 494.1 MB Notification: Performance of matching and sorting (n=9): time 0.0002082/0.1413, allocations: 101.5 kB / 0.5835 GB, free: 5.062 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.329e-05/0.1413, allocations: 55.78 kB / 0.5835 GB, free: 4.996 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.32e-05/0.1414, allocations: 105.8 kB / 0.5836 GB, free: 4.883 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.508e-05/0.1414, allocations: 25.7 kB / 0.5837 GB, free: 4.852 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.626e-05/0.1415, allocations: 96.03 kB / 0.5838 GB, free: 4.754 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.51e-05/0.1415, allocations: 31.67 kB / 0.5838 GB, free: 4.723 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.231e-05/0.1415, allocations: 29.7 kB / 0.5838 GB, free: 4.688 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.975e-05/0.1416, allocations: 314.8 kB / 0.5841 GB, free: 4.371 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.598e-05/0.1417, allocations: 23.98 kB / 0.5841 GB, free: 4.348 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.556e-05/0.1417, allocations: 43.31 kB / 0.5842 GB, free: 4.293 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.076e-05/0.1418, allocations: 67.42 kB / 0.5842 GB, free: 4.215 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.1418, allocations: 0 / 0.5842 GB, free: 4.215 MB / 494.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001371/0.142, allocations: 101.5 kB / 0.5843 GB, free: 4.109 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.386e-05/0.142, allocations: 8 kB / 0.5844 GB, free: 4.102 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.509e-06/0.142, allocations: 0 / 0.5844 GB, free: 4.102 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.188e-05/0.142, allocations: 0 / 0.5844 GB, free: 4.102 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.583e-05/0.1421, allocations: 12.06 kB / 0.5844 GB, free: 4.09 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.662e-06/0.1421, allocations: 4 kB / 0.5844 GB, free: 4.086 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.406e-05/0.1422, allocations: 7.984 kB / 0.5844 GB, free: 4.078 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.062e-05/0.1422, allocations: 15.97 kB / 0.5844 GB, free: 4.062 MB / 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 7.243e-05/0.1423, allocations: 118.7 kB / 0.5845 GB, free: 3.938 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.219e-05/0.1423, allocations: 3.906 kB / 0.5845 GB, free: 3.934 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.529e-05/0.1423, allocations: 15.95 kB / 0.5845 GB, free: 3.918 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-06/0.1423, allocations: 0 / 0.5845 GB, free: 3.918 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.1423, allocations: 0 / 0.5845 GB, free: 3.918 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.1423, allocations: 0 / 0.5845 GB, free: 3.918 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003699/0.1427, allocations: 354.7 kB / 0.5849 GB, free: 3.516 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.1427, allocations: 4 kB / 0.5849 GB, free: 3.512 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.382e-05/0.1427, allocations: 0 / 0.5849 GB, free: 3.512 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.1428, allocations: 4 kB / 0.5849 GB, free: 3.508 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.113e-06/0.1428, allocations: 0 / 0.5849 GB, free: 3.508 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.125e-06/0.1428, allocations: 3.938 kB / 0.5849 GB, free: 3.504 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.1428, allocations: 3.984 kB / 0.5849 GB, free: 3.5 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001487/0.1429, allocations: 183.5 kB / 0.585 GB, free: 3.305 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.416e-05/0.143, allocations: 89.14 kB / 0.5851 GB, free: 3.199 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.486e-05/0.143, allocations: 7.922 kB / 0.5851 GB, free: 3.191 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.631e-05/0.1431, allocations: 11.94 kB / 0.5852 GB, free: 3.18 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.294e-05/0.1431, allocations: 11.92 kB / 0.5852 GB, free: 3.168 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.17e-06/0.1431, allocations: 0 / 0.5852 GB, free: 3.168 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.641e-05/0.1432, allocations: 83.28 kB / 0.5852 GB, free: 3.086 MB / 494.1 MB Notification: Performance of sort global known variables: time 2e-07/0.1432, allocations: 0 / 0.5852 GB, free: 3.086 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002317/0.1434, allocations: 15.98 kB / 0.5853 GB, free: 3.07 MB / 494.1 MB 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.0003777/0.1438, allocations: 0.7163 MB / 0.586 GB, free: 2.324 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001282/0.1439, allocations: 59.86 kB / 0.586 GB, free: 2.266 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.144, allocations: 0 / 0.586 GB, free: 2.266 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 5.018e-05/0.144, allocations: 27.92 kB / 0.586 GB, free: 2.238 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002579/0.1443, allocations: 14.03 kB / 0.5861 GB, free: 2.227 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001089/0.1454, allocations: 1.356 MB / 0.5874 GB, free: 0.7734 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002018/0.1456, allocations: 0.6885 MB / 0.5881 GB, free: 60 kB / 494.1 MB Notification: Performance of simCode: alias equations: time 2.519e-05/0.1456, allocations: 4.281 kB / 0.5881 GB, free: 56 kB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.452e-05/0.1457, allocations: 19.42 kB / 0.5881 GB, free: 36 kB / 494.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1457, allocations: 3.938 kB / 0.5881 GB, free: 32 kB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.326/1.472, allocations: 1.728 MB / 0.5898 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.35/10.82, allocations: 8.656 kB / 0.5898 GB, free: 14.42 MB / 0.4981 GB (rm -f IDEAS_IDEAS.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe ; mkfifo IDEAS_IDEAS.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe >> ../files/IDEAS_IDEAS.Controls.Continuous.Validation.OffTimerNonZeroStart.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Controls_Continuous_Validation_OffTimerNonZeroStart_fmu --startTime=-1 --stopTime=0 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Controls_Continuous_Validation_OffTimerNonZeroStart.fmu > IDEAS_IDEAS.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe 2>&1)