Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.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.Validation.TriggeredTrapezoid,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_TriggeredTrapezoid",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_TriggeredTrapezoid",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.446/1.446, allocations: 288.4 MB / 303.6 MB, free: 8.082 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.0008793/0.0008793, allocations: 176.5 kB / 372.3 MB, free: 10.12 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.247/1.247, allocations: 205.4 MB / 0.631 GB, free: 9.914 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.0006976/0.0006976, allocations: 94.28 kB / 0.7444 GB, free: 5.809 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003468/0.0003469, allocations: 13.56 kB / 0.8676 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1761/0.1764, allocations: 115.3 MB / 0.9802 GB, free: 27.24 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid): time 0.0007008/0.1772, allocations: 386.8 kB / 0.9806 GB, free: 26.86 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001078/0.1783, allocations: 1.157 MB / 0.9817 GB, free: 25.69 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.089e-05/0.1783, allocations: 7.938 kB / 0.9817 GB, free: 25.68 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.208e-05/0.1783, allocations: 0 / 0.9817 GB, free: 25.68 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 6.685e-05/0.1784, allocations: 7.922 kB / 0.9817 GB, free: 25.67 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004044/0.1788, allocations: 117.7 kB / 0.9818 GB, free: 25.56 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 9.075e-05/0.1789, allocations: 111.7 kB / 0.9819 GB, free: 25.45 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 7.586e-05/0.179, allocations: 4 kB / 0.9819 GB, free: 25.45 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 6.99e-05/0.1791, allocations: 47.89 kB / 0.982 GB, free: 25.4 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 7.049e-05/0.1791, allocations: 43.86 kB / 0.982 GB, free: 25.36 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.278e-05/0.1792, allocations: 12 kB / 0.982 GB, free: 25.34 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 5.495e-05/0.1792, allocations: 19.98 kB / 0.9821 GB, free: 25.32 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.255e-05/0.1793, allocations: 7.984 kB / 0.9821 GB, free: 25.32 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 6.319e-05/0.1793, allocations: 73.52 kB / 0.9821 GB, free: 25.24 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 9.196e-05/0.1794, allocations: 84.03 kB / 0.9822 GB, free: 25.16 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.1794, allocations: 0 / 0.9822 GB, free: 25.16 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.172e-06/0.1795, allocations: 4 kB / 0.9822 GB, free: 25.15 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 2.975e-06/0.1795, allocations: 0 / 0.9822 GB, free: 25.15 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004497/0.1799, allocations: 377.1 kB / 0.9826 GB, free: 24.73 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.671e-05/0.18, allocations: 8.031 kB / 0.9826 GB, free: 24.72 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.398e-05/0.18, allocations: 38.73 kB / 0.9826 GB, free: 24.67 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.746e-05/0.18, allocations: 8.844 kB / 0.9826 GB, free: 24.66 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.122e-05/0.1801, allocations: 172.3 kB / 0.9828 GB, free: 24.46 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.146e-05/0.1802, allocations: 4.375 kB / 0.9828 GB, free: 24.45 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.357e-05/0.1802, allocations: 8.375 kB / 0.9828 GB, free: 24.45 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001923/0.1804, allocations: 82.08 kB / 0.9829 GB, free: 24.36 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.336e-06/0.1804, allocations: 3.938 kB / 0.9829 GB, free: 24.36 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.253e-05/0.1804, allocations: 4 kB / 0.9829 GB, free: 24.35 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.178e-06/0.1804, allocations: 0 / 0.9829 GB, free: 24.35 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001457/0.1806, allocations: 43.97 kB / 0.9829 GB, free: 24.31 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003944/0.181, allocations: 316.8 kB / 0.9832 GB, free: 23.95 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001792/0.1812, allocations: 78.48 kB / 0.9833 GB, free: 23.86 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000108/0.1813, allocations: 40.84 kB / 0.9834 GB, free: 23.82 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 7.184e-06/0.1813, allocations: 0 / 0.9834 GB, free: 23.82 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002294/0.1815, allocations: 107.3 kB / 0.9835 GB, free: 23.7 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=9): time 1.202e-06/0.1816, allocations: 0 / 0.9835 GB, free: 23.7 MB / 0.6198 GB Notification: Performance of matching and sorting (n=9): time 0.0004502/0.182, allocations: 193.5 kB / 0.9836 GB, free: 23.51 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.887e-05/0.1821, allocations: 51.41 kB / 0.9837 GB, free: 23.45 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.021e-05/0.1821, allocations: 121.7 kB / 0.9838 GB, free: 23.32 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.159e-05/0.1821, allocations: 33.7 kB / 0.9838 GB, free: 23.28 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.648e-05/0.1822, allocations: 88.03 kB / 0.9839 GB, free: 23.19 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.751e-05/0.1822, allocations: 19.8 kB / 0.9839 GB, free: 23.17 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.352e-05/0.1822, allocations: 12 kB / 0.984 GB, free: 23.16 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.6e-05/0.1823, allocations: 318.8 kB / 0.9843 GB, free: 22.84 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001254/0.1824, allocations: 51.97 kB / 0.9843 GB, free: 22.79 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000125/0.1825, allocations: 72.17 kB / 0.9844 GB, free: 22.71 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000191/0.1827, allocations: 132.2 kB / 0.9845 GB, free: 22.56 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.1828, allocations: 0 / 0.9845 GB, free: 22.56 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000326/0.1831, allocations: 199.1 kB / 0.9847 GB, free: 22.36 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.701e-05/0.1831, allocations: 35.42 kB / 0.9847 GB, free: 22.32 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.1831, allocations: 0 / 0.9847 GB, free: 22.32 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.264e-05/0.1831, allocations: 8.062 kB / 0.9847 GB, free: 22.31 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.756e-05/0.1833, allocations: 11.98 kB / 0.9847 GB, free: 22.3 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.261e-06/0.1833, allocations: 4 kB / 0.9847 GB, free: 22.29 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001877/0.1835, allocations: 43.95 kB / 0.9848 GB, free: 22.25 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.858e-05/0.1835, allocations: 8.844 kB / 0.9848 GB, free: 22.24 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition1,$whenCondition2,$whenCondition4,$whenCondition3,$PRE.booPul.y,booPul.y,triggeredTrapezoid1.endValue,triggeredTrapezoid1.rate,triggeredTrapezoid1.T) * 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 7.523e-05/0.1836, allocations: 129.7 kB / 0.9849 GB, free: 22.11 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.442e-05/0.1836, allocations: 11.89 kB / 0.9849 GB, free: 22.09 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.149e-05/0.1836, allocations: 8.375 kB / 0.9849 GB, free: 22.09 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.814e-06/0.1836, allocations: 0 / 0.9849 GB, free: 22.09 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.1836, allocations: 0 / 0.9849 GB, free: 22.09 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.965e-06/0.1836, allocations: 0 / 0.9849 GB, free: 22.09 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003831/0.184, allocations: 414.3 kB / 0.9853 GB, free: 21.63 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.184, allocations: 0 / 0.9853 GB, free: 21.63 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.101e-05/0.1841, allocations: 11.98 kB / 0.9853 GB, free: 21.62 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.1841, allocations: 0 / 0.9853 GB, free: 21.62 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.182e-05/0.1841, allocations: 4 kB / 0.9854 GB, free: 21.61 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.1841, allocations: 0 / 0.9854 GB, free: 21.61 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.1841, allocations: 0 / 0.9854 GB, free: 21.61 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002982/0.1844, allocations: 251.3 kB / 0.9856 GB, free: 21.35 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.056e-05/0.1844, allocations: 85 kB / 0.9857 GB, free: 21.25 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.931e-05/0.1845, allocations: 4 kB / 0.9857 GB, free: 21.25 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.898e-05/0.1846, allocations: 3.984 kB / 0.9857 GB, free: 21.24 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.32e-05/0.1846, allocations: 7.984 kB / 0.9857 GB, free: 21.23 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.682e-05/0.1846, allocations: 11.94 kB / 0.9857 GB, free: 21.22 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.055e-05/0.1847, allocations: 91.27 kB / 0.9858 GB, free: 21.13 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.11e-07/0.1847, allocations: 11.88 kB / 0.9858 GB, free: 21.12 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002258/0.1849, allocations: 28 kB / 0.9858 GB, free: 21.09 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: 8 ($whenCondition4,$whenCondition3,$whenCondition1,$whenCondition2,booPul.y,triggeredTrapezoid1.endValue,triggeredTrapezoid1.rate,triggeredTrapezoid1.T) * Number of discrete states: 1 (triggeredTrapezoid1.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0004728/0.1854, allocations: 0.7795 MB / 0.9866 GB, free: 20.29 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002827/0.1857, allocations: 187.2 kB / 0.9868 GB, free: 20.09 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.1857, allocations: 0 / 0.9868 GB, free: 20.09 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001152/0.1858, allocations: 55.97 kB / 0.9868 GB, free: 20.04 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002503/0.1861, allocations: 15.92 kB / 0.9868 GB, free: 20.02 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008969/0.187, allocations: 0.6566 MB / 0.9875 GB, free: 19.32 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.124e-05/0.1871, allocations: 0.6849 MB / 0.9881 GB, free: 18.61 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.637e-05/0.1871, allocations: 4.672 kB / 0.9881 GB, free: 18.61 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.378e-05/0.1871, allocations: 23.42 kB / 0.9882 GB, free: 18.58 MB / 0.6198 GB Notification: Performance of SimCode: time 3.4e-07/0.1871, allocations: 3.938 kB / 0.9882 GB, free: 18.58 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0119/0.1991, allocations: 2.437 MB / 0.9906 GB, free: 16.31 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001689/0.1993, allocations: 212 kB / 0.9908 GB, free: 16.07 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.682/1.881, allocations: 0 / 0.9908 GB, free: 16.07 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_TriggeredTrapezoid_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_TriggeredTrapezoid.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.pipe 2>&1)