Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_CDL_Integers_Validation_OnCounter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_CDL_Integers_Validation_OnCounter",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.61/2.61, allocations: 287.3 MB / 302.3 MB, free: 8.211 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001478/0.001478, allocations: 187.2 kB / 370.8 MB, free: 10.85 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.122/2.122, allocations: 205.4 MB / 0.6295 GB, free: 10.63 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001154/0.001154, allocations: 102.1 kB / 0.7428 GB, free: 6.637 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004855/0.0004857, allocations: 12.88 kB / 0.8657 GB, free: 140.3 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2142/0.2147, allocations: 115.3 MB / 0.9783 GB, free: 28.29 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9743/1.189, allocations: 138 MB / 1.113 GB, free: 15.83 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002483/1.189, allocations: 67.97 kB / 1.113 GB, free: 15.83 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01456/1.204, allocations: 2.943 MB / 1.116 GB, free: 31.39 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.327e-06/1.204, allocations: 2.438 kB / 1.116 GB, free: 31.39 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.047e-05/1.204, allocations: 0 / 1.116 GB, free: 31.39 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0006212/1.205, allocations: 422.5 kB / 1.116 GB, free: 30.96 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.244e-05/1.205, allocations: 15.64 kB / 1.116 GB, free: 30.96 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.798e-05/1.205, allocations: 30.56 kB / 1.116 GB, free: 30.92 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.06e-05/1.205, allocations: 11.62 kB / 1.116 GB, free: 30.92 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001421/1.205, allocations: 186.1 kB / 1.117 GB, free: 30.7 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.667e-05/1.205, allocations: 15.47 kB / 1.117 GB, free: 30.7 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.7e-05/1.205, allocations: 7.688 kB / 1.117 GB, free: 30.7 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001488/1.205, allocations: 57.89 kB / 1.117 GB, free: 30.66 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.739e-06/1.205, allocations: 0 / 1.117 GB, free: 30.66 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.271e-05/1.205, allocations: 0 / 1.117 GB, free: 30.66 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.511e-06/1.205, allocations: 0 / 1.117 GB, free: 30.66 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.423e-05/1.205, allocations: 14.39 kB / 1.117 GB, free: 30.66 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006466/1.206, allocations: 363.8 kB / 1.117 GB, free: 30.38 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001066/1.206, allocations: 32.75 kB / 1.117 GB, free: 30.36 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 7.334e-06/1.206, allocations: 3.844 kB / 1.117 GB, free: 30.36 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002379/1.207, allocations: 90.64 kB / 1.117 GB, free: 30.31 MB / 0.698 GB Notification: Performance of pre-optimization done (n=9): time 2.535e-06/1.207, allocations: 0 / 1.117 GB, free: 30.31 MB / 0.698 GB Notification: Performance of matching and sorting (n=9): time 0.0004105/1.207, allocations: 123.6 kB / 1.117 GB, free: 30.27 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.318e-05/1.207, allocations: 59.38 kB / 1.117 GB, free: 30.2 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001117/1.207, allocations: 116 kB / 1.117 GB, free: 30.11 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 5.417e-05/1.207, allocations: 29.55 kB / 1.118 GB, free: 30.08 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 9.321e-05/1.207, allocations: 102.8 kB / 1.118 GB, free: 29.99 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.321e-05/1.207, allocations: 10.02 kB / 1.118 GB, free: 29.98 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.604e-05/1.207, allocations: 7.375 kB / 1.118 GB, free: 29.98 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001555/1.208, allocations: 321.4 kB / 1.118 GB, free: 29.67 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002081/1.208, allocations: 58.02 kB / 1.118 GB, free: 29.67 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002365/1.208, allocations: 114.6 kB / 1.118 GB, free: 29.61 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002572/1.208, allocations: 124.3 kB / 1.118 GB, free: 29.54 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.977e-06/1.208, allocations: 0 / 1.118 GB, free: 29.54 MB / 0.698 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0007071/1.209, allocations: 275.1 kB / 1.118 GB, free: 29.43 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 8.905e-05/1.209, allocations: 72.03 kB / 1.119 GB, free: 29.37 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.034e-05/1.209, allocations: 0.5469 kB / 1.119 GB, free: 29.37 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.044e-05/1.209, allocations: 3.406 kB / 1.119 GB, free: 29.37 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.825e-05/1.209, allocations: 3.844 kB / 1.119 GB, free: 29.37 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.242e-05/1.209, allocations: 10.5 kB / 1.119 GB, free: 29.36 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005985/1.21, allocations: 68.78 kB / 1.119 GB, free: 29.36 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.072e-05/1.21, allocations: 21.39 kB / 1.119 GB, free: 29.36 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 12 ($PRE.onCounter.y,onCounter.y,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition2,$PRE.reset.y,reset.y,$whenCondition1,$PRE.booPul.y,booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 2 * 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 0.0001798/1.21, allocations: 127.8 kB / 1.119 GB, free: 29.23 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.544e-05/1.21, allocations: 10.75 kB / 1.119 GB, free: 29.23 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.094e-05/1.21, allocations: 12.03 kB / 1.119 GB, free: 29.22 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.208e-06/1.21, allocations: 0 / 1.119 GB, free: 29.22 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.201e-06/1.21, allocations: 0 / 1.119 GB, free: 29.22 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.861e-06/1.21, allocations: 4 kB / 1.119 GB, free: 29.22 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004713/1.211, allocations: 363.7 kB / 1.119 GB, free: 28.92 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.866e-06/1.211, allocations: 0 / 1.119 GB, free: 28.92 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.673e-05/1.211, allocations: 7.938 kB / 1.119 GB, free: 28.91 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.791e-06/1.211, allocations: 2.812 kB / 1.119 GB, free: 28.91 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.309e-05/1.211, allocations: 3.844 kB / 1.119 GB, free: 28.91 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.836e-06/1.211, allocations: 0 / 1.119 GB, free: 28.91 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/1.211, allocations: 0 / 1.119 GB, free: 28.91 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002627/1.211, allocations: 202.5 kB / 1.119 GB, free: 28.77 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.439e-05/1.211, allocations: 83.59 kB / 1.119 GB, free: 28.67 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.742e-05/1.211, allocations: 3.906 kB / 1.119 GB, free: 28.67 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.448e-05/1.211, allocations: 7.5 kB / 1.119 GB, free: 28.67 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.551e-05/1.211, allocations: 6.25 kB / 1.119 GB, free: 28.67 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.497e-05/1.211, allocations: 6.578 kB / 1.119 GB, free: 28.67 MB / 0.698 GB Notification: Performance of sorting global known variables: time 7.592e-05/1.212, allocations: 93.52 kB / 1.12 GB, free: 28.59 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.61e-07/1.212, allocations: 0 / 1.12 GB, free: 28.59 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0004478/1.212, allocations: 41.83 kB / 1.12 GB, free: 28.58 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition2,$whenCondition1,onCounter.y,booPul.y,reset.y) * Number of discrete states: 1 (onCounter.y) * 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.0007424/1.213, allocations: 0.7371 MB / 1.12 GB, free: 27.92 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0005861/1.213, allocations: 262.4 kB / 1.121 GB, free: 27.78 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.997e-06/1.213, allocations: 0 / 1.121 GB, free: 27.78 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 8.77e-05/1.213, allocations: 31.92 kB / 1.121 GB, free: 27.78 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000327/1.214, allocations: 16.03 kB / 1.121 GB, free: 27.78 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001281/1.215, allocations: 1.322 MB / 1.122 GB, free: 26.49 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003224/1.215, allocations: 0.7011 MB / 1.123 GB, free: 25.79 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 5.912e-05/1.216, allocations: 7 kB / 1.123 GB, free: 25.79 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.427e-05/1.216, allocations: 20.55 kB / 1.123 GB, free: 25.78 MB / 0.698 GB Notification: Performance of SimCode: time 1.282e-06/1.216, allocations: 0 / 1.123 GB, free: 25.78 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02155/1.237, allocations: 2.657 MB / 1.125 GB, free: 25.49 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002593/1.238, allocations: 190.4 kB / 1.125 GB, free: 25.25 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.461/3.698, allocations: 0 / 1.125 GB, free: 25.25 MB / 0.698 GB (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_CDL_Integers_Validation_OnCounter_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_CDL_Integers_Validation_OnCounter.fmu > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe 2>&1)