Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.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.Logical.Sources.Validation.SampleTrigger,fileNamePrefix="Buildings_maint_8_0_x_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_maint_8_0_x_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.1-maint.8.0.x/package.mo): time 1.736/1.736, allocations: 288.2 MB / 303.2 MB, free: 8.168 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.001309/0.001309, allocations: 181.1 kB / 371.8 MB, free: 10.27 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.715/1.715, allocations: 205.4 MB / 0.6305 GB, free: 9.996 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.0009151/0.000915, allocations: 89.22 kB / 0.7439 GB, free: 5.926 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004028/0.0004028, allocations: 12.03 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2188/0.2192, allocations: 115.3 MB / 0.9795 GB, free: 27.58 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6903/0.9096, allocations: 138 MB / 1.114 GB, free: 16.32 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002571/0.9099, allocations: 73.95 kB / 1.114 GB, free: 16.32 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.009066/0.919, allocations: 2.505 MB / 1.117 GB, free: 31.88 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.803e-06/0.919, allocations: 0 / 1.117 GB, free: 31.88 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.133e-06/0.919, 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005483/0.9196, allocations: 382 kB / 1.117 GB, free: 31.51 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.429e-05/0.9196, allocations: 7.469 kB / 1.117 GB, free: 31.51 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.749e-05/0.9197, allocations: 40.64 kB / 1.117 GB, free: 31.47 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.573e-05/0.9198, allocations: 3.906 kB / 1.117 GB, free: 31.46 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001367/0.9199, allocations: 179.4 kB / 1.117 GB, free: 31.26 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.346e-05/0.9199, allocations: 7.719 kB / 1.117 GB, free: 31.26 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.646e-05/0.9199, allocations: 7.781 kB / 1.117 GB, free: 31.26 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002317/0.9202, allocations: 70.27 kB / 1.117 GB, free: 31.22 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.854e-06/0.9202, allocations: 0 / 1.117 GB, free: 31.22 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.298e-05/0.9202, allocations: 3.781 kB / 1.117 GB, free: 31.22 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.539e-06/0.9202, allocations: 0 / 1.117 GB, free: 31.22 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002284/0.9205, allocations: 59.05 kB / 1.118 GB, free: 31.22 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006393/0.9211, allocations: 316.1 kB / 1.118 GB, free: 30.94 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001854/0.9213, allocations: 54.41 kB / 1.118 GB, free: 30.92 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.382e-05/0.9214, allocations: 4 kB / 1.118 GB, free: 30.92 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002484/0.9216, allocations: 89.48 kB / 1.118 GB, free: 30.86 MB / 0.698 GB Notification: Performance of pre-optimization done (n=7): time 1.643e-06/0.9216, allocations: 0 / 1.118 GB, free: 30.86 MB / 0.698 GB Notification: Performance of matching and sorting (n=7): time 0.0005149/0.9222, allocations: 156.2 kB / 1.118 GB, free: 30.82 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.263e-05/0.9222, allocations: 52.86 kB / 1.118 GB, free: 30.75 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.807e-05/0.9223, allocations: 116.8 kB / 1.118 GB, free: 30.66 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.351e-05/0.9224, allocations: 25.7 kB / 1.118 GB, free: 30.63 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 6.334e-05/0.9224, allocations: 89.28 kB / 1.118 GB, free: 30.55 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.148e-05/0.9225, allocations: 17.31 kB / 1.118 GB, free: 30.54 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.085e-06/0.9225, allocations: 5.281 kB / 1.118 GB, free: 30.53 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001526/0.9226, allocations: 317.7 kB / 1.119 GB, free: 30.22 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000172/0.9228, allocations: 35.91 kB / 1.119 GB, free: 30.22 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001797/0.923, allocations: 82.3 kB / 1.119 GB, free: 30.16 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001702/0.9232, allocations: 40.89 kB / 1.119 GB, free: 30.16 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.574e-06/0.9232, allocations: 0 / 1.119 GB, free: 30.16 MB / 0.698 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004165/0.9236, allocations: 149.8 kB / 1.119 GB, free: 30.11 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.822e-05/0.9237, allocations: 3.906 kB / 1.119 GB, free: 30.11 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.027e-06/0.9237, allocations: 3.875 kB / 1.119 GB, free: 30.11 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.602e-05/0.9237, allocations: 7.75 kB / 1.119 GB, free: 30.1 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001578/0.9239, allocations: 16.95 kB / 1.119 GB, free: 30.1 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.546e-06/0.9239, allocations: 3.844 kB / 1.119 GB, free: 30.1 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001202/0.924, allocations: 10.69 kB / 1.119 GB, free: 30.1 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.973e-05/0.9241, allocations: 11.52 kB / 1.119 GB, free: 30.1 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.0001081/0.9242, allocations: 130.4 kB / 1.119 GB, free: 29.97 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.601e-05/0.9242, allocations: 3.906 kB / 1.119 GB, free: 29.97 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.551e-05/0.9242, allocations: 13.73 kB / 1.119 GB, free: 29.96 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.415e-06/0.9243, allocations: 0 / 1.119 GB, free: 29.96 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.9243, allocations: 0 / 1.119 GB, free: 29.96 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.9243, allocations: 0 / 1.119 GB, free: 29.96 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005691/0.9249, allocations: 393.5 kB / 1.12 GB, free: 29.65 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.9249, allocations: 0 / 1.12 GB, free: 29.65 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.678e-05/0.925, allocations: 14.7 kB / 1.12 GB, free: 29.65 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.395e-06/0.925, allocations: 0 / 1.12 GB, free: 29.65 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.064e-05/0.925, allocations: 0 / 1.12 GB, free: 29.65 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.925, allocations: 5.391 kB / 1.12 GB, free: 29.65 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.925, allocations: 7.953 kB / 1.12 GB, free: 29.64 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00035/0.9254, allocations: 206.2 kB / 1.12 GB, free: 29.51 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.23e-05/0.9254, allocations: 77.11 kB / 1.12 GB, free: 29.42 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.115e-05/0.9255, allocations: 17.06 kB / 1.12 GB, free: 29.41 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001256/0.9256, allocations: 7.297 kB / 1.12 GB, free: 29.41 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.657e-05/0.9256, allocations: 5.25 kB / 1.12 GB, free: 29.41 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.037e-05/0.9257, allocations: 7.641 kB / 1.12 GB, free: 29.41 MB / 0.698 GB Notification: Performance of sorting global known variables: time 7.498e-05/0.9257, allocations: 91.97 kB / 1.12 GB, free: 29.33 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.9e-07/0.9258, allocations: 3.938 kB / 1.12 GB, free: 29.33 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003974/0.9262, allocations: 24.03 kB / 1.12 GB, free: 29.32 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.0007558/0.9269, allocations: 0.7668 MB / 1.121 GB, free: 28.65 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.000334/0.9273, allocations: 90.91 kB / 1.121 GB, free: 28.64 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.9273, allocations: 0 / 1.121 GB, free: 28.64 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001458/0.9274, allocations: 40.23 kB / 1.121 GB, free: 28.64 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002553/0.9277, allocations: 10.5 kB / 1.121 GB, free: 28.64 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00111/0.9288, allocations: 1.301 MB / 1.122 GB, free: 27.34 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002954/0.9291, allocations: 0.6942 MB / 1.123 GB, free: 26.65 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 4.617e-05/0.9292, allocations: 6.391 kB / 1.123 GB, free: 26.65 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.311e-05/0.9293, allocations: 19 kB / 1.123 GB, free: 26.64 MB / 0.698 GB Notification: Performance of SimCode: time 4.81e-07/0.9293, allocations: 0 / 1.123 GB, free: 26.64 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01583/0.9451, allocations: 1.777 MB / 1.125 GB, free: 26.46 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002017/0.9454, allocations: 202.5 kB / 1.125 GB, free: 26.23 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.508/2.454, allocations: 0 / 1.125 GB, free: 26.23 MB / 0.698 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_SampleTrigger_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_SampleTrigger.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe 2>&1)