Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredSampler.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredSampler,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Discrete_Examples_TriggeredSampler",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredSampler,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Discrete_Examples_TriggeredSampler",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.59/1.59, allocations: 288.2 MB / 303.2 MB, free: 8.184 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.001013/0.001013, allocations: 185 kB / 371.8 MB, free: 10.26 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.547/1.547, allocations: 205.4 MB / 0.6305 GB, free: 9.98 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.0008869/0.0008868, allocations: 97.09 kB / 0.7439 GB, free: 5.91 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005371/0.0005372, allocations: 15.16 kB / 0.8669 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2808/0.2813, allocations: 115.3 MB / 0.9795 GB, free: 27.59 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8901/1.171, allocations: 138.5 MB / 1.115 GB, free: 16.29 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000264/1.172, allocations: 72.47 kB / 1.115 GB, free: 16.29 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.007151/1.179, allocations: 2.272 MB / 1.117 GB, free: 31.88 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.605e-06/1.179, allocations: 0 / 1.117 GB, free: 31.88 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.085e-05/1.179, allocations: 0 / 1.117 GB, free: 31.88 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0006253/1.18, allocations: 414 kB / 1.117 GB, free: 31.47 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.933e-05/1.18, allocations: 15.64 kB / 1.117 GB, free: 31.46 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.326e-05/1.18, allocations: 35.89 kB / 1.117 GB, free: 31.43 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.281e-05/1.18, allocations: 9.359 kB / 1.117 GB, free: 31.42 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001647/1.18, allocations: 173.1 kB / 1.118 GB, free: 31.22 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.472e-05/1.18, allocations: 7.531 kB / 1.118 GB, free: 31.22 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.467e-05/1.18, allocations: 7.375 kB / 1.118 GB, free: 31.22 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000245/1.18, allocations: 79.34 kB / 1.118 GB, free: 31.18 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.145e-05/1.18, allocations: 4 kB / 1.118 GB, free: 31.18 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.34e-05/1.18, allocations: 0.9844 kB / 1.118 GB, free: 31.18 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.433e-06/1.18, allocations: 3.875 kB / 1.118 GB, free: 31.18 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001943/1.181, allocations: 58.88 kB / 1.118 GB, free: 31.18 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005878/1.181, allocations: 359.6 kB / 1.118 GB, free: 30.89 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000162/1.181, allocations: 58.09 kB / 1.118 GB, free: 30.87 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.02e-05/1.181, allocations: 3.906 kB / 1.118 GB, free: 30.87 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002572/1.182, allocations: 97.86 kB / 1.118 GB, free: 30.82 MB / 0.698 GB Notification: Performance of pre-optimization done (n=8): time 2.104e-06/1.182, allocations: 3.938 kB / 1.118 GB, free: 30.81 MB / 0.698 GB Notification: Performance of matching and sorting (n=8): time 0.0004677/1.182, allocations: 163 kB / 1.118 GB, free: 30.77 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.104e-05/1.182, allocations: 59.23 kB / 1.118 GB, free: 30.71 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001076/1.182, allocations: 115.9 kB / 1.119 GB, free: 30.61 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.052e-05/1.182, allocations: 29.64 kB / 1.119 GB, free: 30.58 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 8.314e-05/1.182, allocations: 99.31 kB / 1.119 GB, free: 30.5 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.174e-05/1.182, allocations: 18.73 kB / 1.119 GB, free: 30.48 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.206e-05/1.182, allocations: 3.906 kB / 1.119 GB, free: 30.48 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001367/1.183, allocations: 317.8 kB / 1.119 GB, free: 30.17 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001562/1.183, allocations: 55.23 kB / 1.119 GB, free: 30.17 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000174/1.183, allocations: 100.5 kB / 1.119 GB, free: 30.12 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001801/1.183, allocations: 88.25 kB / 1.119 GB, free: 30.09 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.897e-06/1.183, allocations: 4 kB / 1.119 GB, free: 30.08 MB / 0.698 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004333/1.184, allocations: 217.8 kB / 1.119 GB, free: 30.01 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 4.166e-05/1.184, allocations: 36.39 kB / 1.12 GB, free: 29.98 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.706e-06/1.184, allocations: 160 / 1.12 GB, free: 29.98 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.779e-05/1.184, allocations: 11.75 kB / 1.12 GB, free: 29.97 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001101/1.184, allocations: 18.2 kB / 1.12 GB, free: 29.97 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.198e-06/1.184, allocations: 7.75 kB / 1.12 GB, free: 29.96 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002156/1.184, allocations: 54 kB / 1.12 GB, free: 29.95 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.197e-05/1.184, allocations: 7.812 kB / 1.12 GB, free: 29.95 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 9 ($PRE.triSam1.y,triSam1.y,$PRE.triSam.y,triSam.y,$whenCondition3,$PRE.booPul.y,booPul.y,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 1 * 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.0001176/1.184, allocations: 124.3 kB / 1.12 GB, free: 29.84 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.565e-05/1.184, allocations: 3.906 kB / 1.12 GB, free: 29.84 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003004/1.185, allocations: 140.8 kB / 1.12 GB, free: 29.79 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/1.185, allocations: 0 / 1.12 GB, free: 29.79 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.022e-06/1.185, allocations: 2.953 kB / 1.12 GB, free: 29.79 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/1.185, allocations: 0 / 1.12 GB, free: 29.79 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004014/1.185, allocations: 387.1 kB / 1.12 GB, free: 29.49 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/1.185, allocations: 0 / 1.12 GB, free: 29.49 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.195e-05/1.185, allocations: 14.56 kB / 1.12 GB, free: 29.49 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.557e-06/1.185, allocations: 48 / 1.12 GB, free: 29.49 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.192e-05/1.185, allocations: 7.859 kB / 1.12 GB, free: 29.48 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/1.185, allocations: 0 / 1.12 GB, free: 29.48 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.886e-06/1.185, allocations: 6.625 kB / 1.12 GB, free: 29.48 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002935/1.185, allocations: 228 kB / 1.12 GB, free: 29.34 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.568e-05/1.185, allocations: 84.83 kB / 1.121 GB, free: 29.24 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.746e-05/1.185, allocations: 0 / 1.121 GB, free: 29.24 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.989e-05/1.186, allocations: 20.86 kB / 1.121 GB, free: 29.23 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.918e-05/1.186, allocations: 9.797 kB / 1.121 GB, free: 29.23 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.656e-06/1.186, allocations: 7.953 kB / 1.121 GB, free: 29.23 MB / 0.698 GB Notification: Performance of sorting global known variables: time 5.294e-05/1.186, allocations: 92.98 kB / 1.121 GB, free: 29.15 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.1e-07/1.186, allocations: 0 / 1.121 GB, free: 29.15 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002717/1.186, allocations: 33.69 kB / 1.121 GB, free: 29.15 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: 6 ($whenCondition3,$whenCondition1,$whenCondition2,booPul.y,triSam.y,triSam1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 5 * 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.0006416/1.187, allocations: 0.7657 MB / 1.121 GB, free: 28.48 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0004089/1.187, allocations: 195.2 kB / 1.122 GB, free: 28.41 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/1.187, allocations: 0 / 1.122 GB, free: 28.41 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001215/1.187, allocations: 42 kB / 1.122 GB, free: 28.41 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002075/1.187, allocations: 11 kB / 1.122 GB, free: 28.41 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001025/1.188, allocations: 1.175 MB / 1.123 GB, free: 27.26 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000284/1.189, allocations: 0.6954 MB / 1.124 GB, free: 26.56 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 4.197e-05/1.189, allocations: 3.875 kB / 1.124 GB, free: 26.56 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.533e-05/1.189, allocations: 21.56 kB / 1.124 GB, free: 26.55 MB / 0.698 GB Notification: Performance of SimCode: time 7.31e-07/1.189, allocations: 0 / 1.124 GB, free: 26.55 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01674/1.206, allocations: 2.194 MB / 1.126 GB, free: 26.34 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002194/1.206, allocations: 207.1 kB / 1.126 GB, free: 26.09 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.67/2.876, allocations: 0 / 1.126 GB, free: 26.09 MB / 0.698 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredSampler.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredSampler.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredSampler.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredSampler.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Discrete_Examples_TriggeredSampler_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Discrete_Examples_TriggeredSampler.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredSampler.pipe 2>&1)