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.0009178/0.0009177, allocations: 90.75 kB / 15.06 MB, free: 1.098 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.001126/0.001125, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.485/1.485, allocations: 223.2 MB / 240 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8709/0.8709, allocations: 132.3 MB / 423.4 MB, free: 2.086 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003421/0.0003422, allocations: 8.906 kB / 0.5035 GB, free: 4.223 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5111/0.5115, allocations: 81.57 MB / 0.5831 GB, free: 3.895 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Validation.OffTimerNonZeroStart): time 0.001979/0.5135, allocations: 1.183 MB / 0.5843 GB, free: 3.031 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007768/0.5143, allocations: 427.9 kB / 0.5847 GB, free: 2.734 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.453e-05/0.5144, allocations: 3.219 kB / 0.5847 GB, free: 2.734 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 2.197e-05/0.5144, allocations: 5.25 kB / 0.5847 GB, free: 2.73 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001078/0.5145, allocations: 6.312 kB / 0.5847 GB, free: 2.727 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001605/0.5147, allocations: 12.34 kB / 0.5847 GB, free: 2.723 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 9.724e-05/0.5148, allocations: 50.28 kB / 0.5848 GB, free: 2.699 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001087/0.5149, allocations: 17.78 kB / 0.5848 GB, free: 2.691 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.814e-05/0.515, allocations: 16.88 kB / 0.5848 GB, free: 2.684 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.954e-05/0.515, allocations: 18.89 kB / 0.5848 GB, free: 2.676 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.795e-05/0.5151, allocations: 1.312 kB / 0.5848 GB, free: 2.676 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.49e-05/0.5151, allocations: 3 kB / 0.5848 GB, free: 2.676 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 2.338e-05/0.5151, allocations: 8.172 kB / 0.5848 GB, free: 2.672 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 3.715e-05/0.5152, allocations: 37.89 kB / 0.5849 GB, free: 2.633 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 8.747e-05/0.5153, allocations: 30.83 kB / 0.5849 GB, free: 2.625 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.162e-06/0.5153, allocations: 0.9688 kB / 0.5849 GB, free: 2.625 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.5153, allocations: 0 / 0.5849 GB, free: 2.625 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.987e-06/0.5153, allocations: 0 / 0.5849 GB, free: 2.625 MB / 430.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.0005199/0.5158, allocations: 352.4 kB / 0.5852 GB, free: 2.266 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.761e-05/0.5159, allocations: 9.375 kB / 0.5853 GB, free: 2.266 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.496e-05/0.5159, allocations: 41.67 kB / 0.5853 GB, free: 2.219 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.223e-05/0.516, allocations: 11.44 kB / 0.5853 GB, free: 2.211 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001142/0.5161, allocations: 171.2 kB / 0.5855 GB, free: 2.008 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.556e-05/0.5161, allocations: 2.156 kB / 0.5855 GB, free: 2.008 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.943e-05/0.5161, allocations: 9.609 kB / 0.5855 GB, free: 2.004 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001391/0.5163, allocations: 57.36 kB / 0.5855 GB, free: 1.961 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.142e-05/0.5163, allocations: 0 / 0.5855 GB, free: 1.961 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.217e-05/0.5163, allocations: 2 kB / 0.5855 GB, free: 1.961 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.322e-06/0.5163, allocations: 0 / 0.5855 GB, free: 1.961 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.167e-05/0.5164, allocations: 26.22 kB / 0.5856 GB, free: 1.953 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004934/0.5169, allocations: 313.2 kB / 0.5859 GB, free: 1.656 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001117/0.517, allocations: 56.88 kB / 0.5859 GB, free: 1.617 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.259e-05/0.5171, allocations: 26.41 kB / 0.5859 GB, free: 1.602 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.583e-05/0.5171, allocations: 2.109 kB / 0.5859 GB, free: 1.602 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001898/0.5173, allocations: 73.02 kB / 0.586 GB, free: 1.543 MB / 430.1 MB Notification: Performance of pre-optimization done (n=9): time 1.252e-06/0.5173, allocations: 0 / 0.586 GB, free: 1.543 MB / 430.1 MB Notification: Performance of matching and sorting (n=9): time 0.0002857/0.5176, allocations: 108.2 kB / 0.5861 GB, free: 1.48 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.653e-05/0.5177, allocations: 54.53 kB / 0.5862 GB, free: 1.418 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.855e-05/0.5178, allocations: 102.5 kB / 0.5863 GB, free: 1.316 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.669e-05/0.5178, allocations: 36.25 kB / 0.5863 GB, free: 1.277 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.043e-05/0.5178, allocations: 87.23 kB / 0.5864 GB, free: 1.191 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.797e-05/0.5179, allocations: 24.06 kB / 0.5864 GB, free: 1.172 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.989e-06/0.5179, allocations: 0 / 0.5864 GB, free: 1.172 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.23e-05/0.518, allocations: 318.8 kB / 0.5867 GB, free: 0.8555 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.776e-05/0.518, allocations: 15.41 kB / 0.5867 GB, free: 0.8516 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.628e-05/0.5181, allocations: 44.83 kB / 0.5868 GB, free: 0.8125 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.995e-05/0.5181, allocations: 31.58 kB / 0.5868 GB, free: 0.793 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.5181, allocations: 1.062 kB / 0.5868 GB, free: 0.793 MB / 430.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001579/0.5183, allocations: 92.39 kB / 0.5869 GB, free: 0.7383 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.284e-05/0.5183, allocations: 6.172 kB / 0.5869 GB, free: 0.7383 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.852e-06/0.5183, allocations: 0.8125 kB / 0.5869 GB, free: 0.7383 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.63e-05/0.5184, allocations: 1.656 kB / 0.5869 GB, free: 0.7383 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001065/0.5185, allocations: 17.44 kB / 0.5869 GB, free: 0.7305 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.115e-05/0.5185, allocations: 10.72 kB / 0.5869 GB, free: 0.7227 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.338e-05/0.5186, allocations: 15.89 kB / 0.5869 GB, free: 0.7148 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.988e-06/0.5186, allocations: 3.594 kB / 0.5869 GB, free: 0.7148 MB / 430.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,$whenCondition3,$whenCondition2,$PRE.booleanPulse.pulseStart,booleanPulse.pulseStart,not1.y,$PRE.offTim1.entryTime,offTim1.entryTime,$PRE.offTim2.entryTime,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.953e-05/0.5187, allocations: 115.5 kB / 0.587 GB, free: 0.5977 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.342e-05/0.5187, allocations: 3.797 kB / 0.5871 GB, free: 0.5977 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.527e-05/0.5188, allocations: 8.766 kB / 0.5871 GB, free: 0.5859 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.5188, allocations: 1.531 kB / 0.5871 GB, free: 0.5859 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.275e-06/0.5188, allocations: 4.641 kB / 0.5871 GB, free: 0.582 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.22e-06/0.5188, allocations: 4.453 kB / 0.5871 GB, free: 0.5781 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004025/0.5192, allocations: 364.3 kB / 0.5874 GB, free: 252 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.5192, allocations: 64 / 0.5874 GB, free: 252 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.03e-05/0.5193, allocations: 8.75 kB / 0.5874 GB, free: 248 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.306e-06/0.5193, allocations: 4.656 kB / 0.5874 GB, free: 244 kB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.305e-05/0.5193, allocations: 5.359 kB / 0.5874 GB, free: 240 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.5193, allocations: 1.219 kB / 0.5874 GB, free: 240 kB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.5193, allocations: 0.5625 kB / 0.5874 GB, free: 240 kB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001698/0.5195, allocations: 190 kB / 0.5876 GB, free: 76 kB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.415e-05/0.5195, allocations: 79 kB / 0.5877 GB, free: 15.98 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.601e-05/0.5196, allocations: 1.781 kB / 0.5877 GB, free: 15.98 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.735e-05/0.5197, allocations: 11.89 kB / 0.5877 GB, free: 15.98 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.462e-05/0.5197, allocations: 12.77 kB / 0.5877 GB, free: 15.97 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.135e-06/0.5197, allocations: 2.5 kB / 0.5877 GB, free: 15.97 MB / 446.1 MB Notification: Performance of sorting global known variables: time 5.092e-05/0.5198, allocations: 84.34 kB / 0.5878 GB, free: 15.89 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5198, allocations: 0 / 0.5878 GB, free: 15.89 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002394/0.5201, allocations: 16.09 kB / 0.5878 GB, free: 15.89 MB / 446.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006219/0.5207, allocations: 0.7084 MB / 0.5885 GB, free: 15.21 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001792/0.5209, allocations: 53.77 kB / 0.5886 GB, free: 15.2 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/0.5209, allocations: 4.062 kB / 0.5886 GB, free: 15.19 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 7.186e-05/0.521, allocations: 27.42 kB / 0.5886 GB, free: 15.18 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000289/0.5213, allocations: 15.16 kB / 0.5886 GB, free: 15.18 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009265/0.5222, allocations: 480.2 kB / 0.5891 GB, free: 14.77 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000361/0.5226, allocations: 0.6893 MB / 0.5897 GB, free: 14.07 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 3.395e-05/0.5226, allocations: 5.609 kB / 0.5897 GB, free: 14.07 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.87e-05/0.5227, allocations: 23.44 kB / 0.5898 GB, free: 14.05 MB / 446.1 MB Notification: Performance of SimCode: time 2.51e-07/0.5227, allocations: 0 / 0.5898 GB, free: 14.05 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01396/0.5366, allocations: 1.469 MB / 0.5912 GB, free: 13.92 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000191/0.5369, allocations: 185.3 kB / 0.5914 GB, free: 13.69 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.843/2.38, allocations: 4 kB / 0.5914 GB, free: 13.68 MB / 446.1 MB (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/linux/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) Environment - environmentSimulation: