Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.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.Logical.Sources.Validation.SampleTrigger,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_SampleTrigger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_SampleTrigger",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 3.156/3.156, allocations: 287.3 MB / 302.3 MB, free: 8.387 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.002527/0.002527, allocations: 178 kB / 370.8 MB, free: 10.87 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.275/2.275, allocations: 205.4 MB / 0.6295 GB, free: 10.66 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.001178/0.001178, allocations: 94.91 kB / 0.7428 GB, free: 6.652 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0007745/0.0007745, allocations: 20.92 kB / 0.8658 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2875/0.2883, allocations: 115.3 MB / 0.9783 GB, free: 28.3 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9725/1.261, allocations: 137.8 MB / 1.113 GB, free: 15.84 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002701/1.261, allocations: 76.66 kB / 1.113 GB, free: 15.83 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01113/1.272, allocations: 2.496 MB / 1.115 GB, free: 31.4 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.264e-06/1.272, allocations: 0 / 1.115 GB, free: 31.4 MB / 0.698 GB Notification: Performance of Transformations before backend: time 9.488e-06/1.272, allocations: 3.906 kB / 1.115 GB, free: 31.4 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006468/1.273, allocations: 379.3 kB / 1.116 GB, free: 31.03 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.672e-05/1.273, allocations: 15.55 kB / 1.116 GB, free: 31.02 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.46e-05/1.273, allocations: 40.14 kB / 1.116 GB, free: 30.98 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.836e-05/1.273, allocations: 7.781 kB / 1.116 GB, free: 30.98 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000127/1.273, allocations: 170.9 kB / 1.116 GB, free: 30.77 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.682e-05/1.273, allocations: 3 kB / 1.116 GB, free: 30.77 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.373e-05/1.273, allocations: 6.922 kB / 1.116 GB, free: 30.77 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003384/1.274, allocations: 70.8 kB / 1.116 GB, free: 30.74 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.162e-05/1.274, allocations: 0 / 1.116 GB, free: 30.74 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.358e-05/1.274, allocations: 10.8 kB / 1.116 GB, free: 30.73 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.66e-06/1.274, allocations: 0 / 1.116 GB, free: 30.73 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003056/1.274, allocations: 56.48 kB / 1.116 GB, free: 30.73 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007615/1.275, allocations: 325.3 kB / 1.116 GB, free: 30.45 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002396/1.275, allocations: 59.23 kB / 1.117 GB, free: 30.43 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.175e-05/1.275, allocations: 96 / 1.117 GB, free: 30.43 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002917/1.276, allocations: 93.77 kB / 1.117 GB, free: 30.37 MB / 0.698 GB Notification: Performance of pre-optimization done (n=7): time 1.853e-06/1.276, allocations: 0 / 1.117 GB, free: 30.37 MB / 0.698 GB Notification: Performance of matching and sorting (n=7): time 0.0006573/1.276, allocations: 142.2 kB / 1.117 GB, free: 30.33 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.392e-05/1.276, allocations: 65 kB / 1.117 GB, free: 30.26 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001264/1.276, allocations: 110.1 kB / 1.117 GB, free: 30.17 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.532e-05/1.276, allocations: 28.7 kB / 1.117 GB, free: 30.14 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 7.472e-05/1.277, allocations: 94.11 kB / 1.117 GB, free: 30.05 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.896e-05/1.277, allocations: 13.62 kB / 1.117 GB, free: 30.05 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.014e-05/1.277, allocations: 7.812 kB / 1.117 GB, free: 30.04 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001631/1.277, allocations: 318.3 kB / 1.117 GB, free: 29.73 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001799/1.277, allocations: 34.02 kB / 1.117 GB, free: 29.73 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002037/1.277, allocations: 79.38 kB / 1.117 GB, free: 29.67 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002056/1.277, allocations: 37.84 kB / 1.117 GB, free: 29.67 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/1.277, allocations: 4 kB / 1.117 GB, free: 29.66 MB / 0.698 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0005301/1.278, allocations: 143.3 kB / 1.118 GB, free: 29.62 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.348e-05/1.278, allocations: 10.41 kB / 1.118 GB, free: 29.62 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.544e-06/1.278, allocations: 4.219 kB / 1.118 GB, free: 29.61 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.059e-05/1.278, allocations: 3.844 kB / 1.118 GB, free: 29.61 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002106/1.278, allocations: 18.27 kB / 1.118 GB, free: 29.61 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.719e-06/1.278, allocations: 2.625 kB / 1.118 GB, free: 29.61 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001484/1.278, allocations: 18.55 kB / 1.118 GB, free: 29.61 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.989e-05/1.279, allocations: 7.75 kB / 1.118 GB, free: 29.61 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: 8 ($PRE.triggeredSampler1.y,triggeredSampler1.y,$PRE.triggeredSampler.y,triggeredSampler.y,$whenCondition1,samTri.y,$whenCondition2,samTri1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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 0.0001346/1.279, allocations: 130.9 kB / 1.118 GB, free: 29.48 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.055e-05/1.279, allocations: 7.781 kB / 1.118 GB, free: 29.48 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.009e-05/1.279, allocations: 7.688 kB / 1.118 GB, free: 29.47 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.26e-06/1.279, allocations: 2.812 kB / 1.118 GB, free: 29.47 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/1.279, allocations: 3.844 kB / 1.118 GB, free: 29.47 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/1.279, allocations: 0 / 1.118 GB, free: 29.47 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007155/1.279, allocations: 384.6 kB / 1.118 GB, free: 29.16 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.536e-06/1.28, allocations: 0 / 1.118 GB, free: 29.16 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.802e-05/1.28, allocations: 14.8 kB / 1.118 GB, free: 29.16 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.711e-06/1.28, allocations: 3.844 kB / 1.118 GB, free: 29.16 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.125e-05/1.28, allocations: 0 / 1.118 GB, free: 29.16 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.02e-06/1.28, allocations: 7.094 kB / 1.118 GB, free: 29.16 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.003e-06/1.28, allocations: 0 / 1.118 GB, free: 29.16 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004684/1.28, allocations: 210 kB / 1.118 GB, free: 29.02 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.852e-05/1.28, allocations: 77.11 kB / 1.119 GB, free: 28.93 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.282e-05/1.28, allocations: 7.266 kB / 1.119 GB, free: 28.93 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001352/1.28, allocations: 11.72 kB / 1.119 GB, free: 28.92 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.237e-05/1.28, allocations: 14.36 kB / 1.119 GB, free: 28.92 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.678e-06/1.281, allocations: 3.562 kB / 1.119 GB, free: 28.92 MB / 0.698 GB Notification: Performance of sorting global known variables: time 7.27e-05/1.281, allocations: 96.66 kB / 1.119 GB, free: 28.84 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.11e-07/1.281, allocations: 0 / 1.119 GB, free: 28.84 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003653/1.281, allocations: 22.58 kB / 1.119 GB, free: 28.84 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 (samTri1.y,samTri.y,$whenCondition2,$whenCondition1,triggeredSampler.y,triggeredSampler1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0009159/1.282, allocations: 0.7533 MB / 1.119 GB, free: 28.17 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0004512/1.282, allocations: 92.36 kB / 1.119 GB, free: 28.16 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/1.282, allocations: 7.875 kB / 1.119 GB, free: 28.15 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001871/1.283, allocations: 36.36 kB / 1.12 GB, free: 28.15 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000283/1.283, allocations: 22.72 kB / 1.12 GB, free: 28.14 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001182/1.284, allocations: 1.302 MB / 1.121 GB, free: 26.86 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003338/1.284, allocations: 0.6895 MB / 1.121 GB, free: 26.16 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 6.817e-05/1.285, allocations: 3.844 kB / 1.121 GB, free: 26.16 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.753e-05/1.285, allocations: 21.23 kB / 1.122 GB, free: 26.15 MB / 0.698 GB Notification: Performance of SimCode: time 1.102e-06/1.285, allocations: 0 / 1.122 GB, free: 26.15 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02005/1.305, allocations: 1.773 MB / 1.123 GB, free: 25.97 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002513/1.305, allocations: 201 kB / 1.123 GB, free: 25.73 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.378/3.683, allocations: 2.375 kB / 1.123 GB, free: 25.73 MB / 0.698 GB (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_SampleTrigger_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_SampleTrigger.fmu > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe 2>&1)