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.897/1.897, allocations: 288.4 MB / 303.3 MB, free: 8.16 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.001247/0.001247, allocations: 184.5 kB / 372 MB, free: 10.23 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.799/1.799, allocations: 205.4 MB / 0.6307 GB, free: 9.957 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.0009408/0.0009413, allocations: 85.39 kB / 0.744 GB, free: 5.891 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004407/0.0004409, allocations: 12.62 kB / 0.867 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2527/0.2532, allocations: 115.3 MB / 0.9797 GB, free: 27.54 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger): time 0.0009921/0.2542, allocations: 473.8 kB / 0.9801 GB, free: 27.07 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001325/0.2556, allocations: 1.052 MB / 0.9811 GB, free: 26 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.508e-05/0.2557, allocations: 0 / 0.9811 GB, free: 26 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.257e-05/0.2557, allocations: 3.938 kB / 0.9811 GB, free: 26 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 7.654e-05/0.2558, allocations: 15.92 kB / 0.9812 GB, free: 25.98 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003466/0.2561, allocations: 43.89 kB / 0.9812 GB, free: 25.94 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001157/0.2563, allocations: 55.84 kB / 0.9813 GB, free: 25.89 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000164/0.2564, allocations: 16.17 kB / 0.9813 GB, free: 25.87 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001135/0.2566, allocations: 23.86 kB / 0.9813 GB, free: 25.84 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 7.512e-05/0.2566, allocations: 27.91 kB / 0.9813 GB, free: 25.82 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.954e-05/0.2567, allocations: 0 / 0.9813 GB, free: 25.82 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 7.967e-05/0.2568, allocations: 19.98 kB / 0.9813 GB, free: 25.8 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.936e-05/0.2568, allocations: 15.92 kB / 0.9814 GB, free: 25.78 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.011e-05/0.2568, allocations: 33.7 kB / 0.9814 GB, free: 25.74 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001224/0.257, allocations: 60.09 kB / 0.9814 GB, free: 25.68 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.611e-06/0.257, allocations: 0 / 0.9814 GB, free: 25.68 MB / 0.6198 GB Notification: Performance of FrontEnd: time 4.278e-06/0.257, allocations: 0 / 0.9814 GB, free: 25.68 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.083e-06/0.257, allocations: 3.938 kB / 0.9814 GB, free: 25.68 MB / 0.6198 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.0006152/0.2576, allocations: 371 kB / 0.9818 GB, free: 25.27 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.707e-05/0.2577, allocations: 16.03 kB / 0.9818 GB, free: 25.25 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.409e-05/0.2577, allocations: 38.55 kB / 0.9819 GB, free: 25.21 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.837e-05/0.2578, allocations: 7.906 kB / 0.9819 GB, free: 25.2 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001073/0.2579, allocations: 171 kB / 0.982 GB, free: 24.99 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.627e-05/0.2579, allocations: 8 kB / 0.982 GB, free: 24.98 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.983e-05/0.258, allocations: 8 kB / 0.982 GB, free: 24.98 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002151/0.2582, allocations: 73.59 kB / 0.9821 GB, free: 24.9 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.738e-06/0.2582, allocations: 4 kB / 0.9821 GB, free: 24.89 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.126e-05/0.2582, allocations: 0 / 0.9821 GB, free: 24.89 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.43e-06/0.2582, allocations: 0 / 0.9821 GB, free: 24.89 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001808/0.2584, allocations: 59.94 kB / 0.9822 GB, free: 24.84 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006198/0.259, allocations: 328.6 kB / 0.9825 GB, free: 24.46 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001617/0.2592, allocations: 58.55 kB / 0.9825 GB, free: 24.4 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.647e-05/0.2593, allocations: 44.95 kB / 0.9826 GB, free: 24.35 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.69e-05/0.2594, allocations: 0 / 0.9826 GB, free: 24.35 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002053/0.2596, allocations: 83.36 kB / 0.9827 GB, free: 24.26 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 1.794e-06/0.2596, allocations: 4 kB / 0.9827 GB, free: 24.25 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0004289/0.26, allocations: 141.6 kB / 0.9828 GB, free: 24.11 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.176e-05/0.2601, allocations: 67.36 kB / 0.9829 GB, free: 24.03 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.137e-05/0.2602, allocations: 113.8 kB / 0.983 GB, free: 23.91 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.56e-05/0.2602, allocations: 25.7 kB / 0.983 GB, free: 23.88 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.238e-05/0.2602, allocations: 96.03 kB / 0.9831 GB, free: 23.78 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.795e-05/0.2603, allocations: 23.73 kB / 0.9831 GB, free: 23.76 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.811e-06/0.2603, allocations: 0 / 0.9831 GB, free: 23.76 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.496e-05/0.2603, allocations: 322.8 kB / 0.9834 GB, free: 23.43 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001065/0.2605, allocations: 35.98 kB / 0.9835 GB, free: 23.4 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001267/0.2606, allocations: 82.3 kB / 0.9835 GB, free: 23.3 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001199/0.2607, allocations: 47.91 kB / 0.9836 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.2607, allocations: 0 / 0.9836 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002902/0.261, allocations: 133.5 kB / 0.9837 GB, free: 23.11 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.767e-05/0.2611, allocations: 8 kB / 0.9837 GB, free: 23.11 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.251e-06/0.2611, allocations: 3.938 kB / 0.9837 GB, free: 23.1 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.471e-05/0.2611, allocations: 4 kB / 0.9837 GB, free: 23.1 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001297/0.2612, allocations: 36.12 kB / 0.9838 GB, free: 23.06 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.595e-06/0.2612, allocations: 320 / 0.9838 GB, free: 23.06 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.721e-05/0.2613, allocations: 15.86 kB / 0.9838 GB, free: 23.05 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.52e-05/0.2614, allocations: 4 kB / 0.9838 GB, free: 23.04 MB / 0.6198 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 7.586e-05/0.2614, allocations: 121.8 kB / 0.9839 GB, free: 22.91 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.357e-05/0.2615, allocations: 3.906 kB / 0.9839 GB, free: 22.91 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.786e-05/0.2615, allocations: 12.38 kB / 0.9839 GB, free: 22.9 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.2615, allocations: 0 / 0.9839 GB, free: 22.9 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.2615, allocations: 4 kB / 0.9839 GB, free: 22.9 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.977e-06/0.2615, allocations: 0 / 0.9839 GB, free: 22.9 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004745/0.262, allocations: 386.4 kB / 0.9843 GB, free: 22.46 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.262, allocations: 0 / 0.9843 GB, free: 22.46 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.107e-05/0.2621, allocations: 15.98 kB / 0.9843 GB, free: 22.45 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.462e-06/0.2621, allocations: 4 kB / 0.9843 GB, free: 22.45 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.141e-05/0.2621, allocations: 4 kB / 0.9843 GB, free: 22.44 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.086e-06/0.2621, allocations: 3.953 kB / 0.9843 GB, free: 22.44 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.2622, allocations: 3.938 kB / 0.9843 GB, free: 22.43 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003378/0.2625, allocations: 215.4 kB / 0.9845 GB, free: 22.21 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.149e-05/0.2625, allocations: 81.02 kB / 0.9846 GB, free: 22.11 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.111e-05/0.2626, allocations: 0 / 0.9846 GB, free: 22.11 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001269/0.2627, allocations: 11.98 kB / 0.9846 GB, free: 22.1 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.844e-05/0.2628, allocations: 15.95 kB / 0.9846 GB, free: 22.08 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.692e-06/0.2628, allocations: 0 / 0.9846 GB, free: 22.08 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.793e-05/0.2628, allocations: 99.2 kB / 0.9847 GB, free: 21.98 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2628, allocations: 0 / 0.9847 GB, free: 21.98 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002357/0.2631, allocations: 16 kB / 0.9847 GB, free: 21.97 MB / 0.6198 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.000545/0.2636, allocations: 0.7553 MB / 0.9855 GB, free: 21.18 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002767/0.2639, allocations: 87.94 kB / 0.9856 GB, free: 21.1 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.2639, allocations: 0 / 0.9856 GB, free: 21.1 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.000114/0.264, allocations: 47.91 kB / 0.9856 GB, free: 21.05 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002801/0.2643, allocations: 8.984 kB / 0.9856 GB, free: 21.04 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001074/0.2654, allocations: 0.5923 MB / 0.9862 GB, free: 20.39 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001764/0.2656, allocations: 0.7001 MB / 0.9869 GB, free: 19.66 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 4.408e-05/0.2657, allocations: 7.781 kB / 0.9869 GB, free: 19.66 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.621e-05/0.2657, allocations: 27.36 kB / 0.9869 GB, free: 19.63 MB / 0.6198 GB Notification: Performance of SimCode: time 5.41e-07/0.2657, allocations: 0 / 0.9869 GB, free: 19.63 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01583/0.2816, allocations: 1.8 MB / 0.9887 GB, free: 18.02 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0007749/0.2824, allocations: 215.6 kB / 0.9889 GB, free: 17.78 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.502/1.785, allocations: 0 / 0.9889 GB, free: 17.78 MB / 0.6198 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)