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.726/1.726, allocations: 288.4 MB / 303.3 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.001076/0.001077, allocations: 180.5 kB / 372 MB, free: 10.25 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.727/1.727, allocations: 205.4 MB / 0.6307 GB, free: 9.965 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.000934/0.0009337, allocations: 93.25 kB / 0.744 GB, free: 5.898 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006231/0.0006232, allocations: 13.16 kB / 0.867 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2884/0.2891, allocations: 115.3 MB / 0.9797 GB, free: 27.56 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid): time 0.001098/0.2902, allocations: 390.7 kB / 0.98 GB, free: 27.18 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001572/0.2918, allocations: 1.157 MB / 0.9812 GB, free: 26 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.868e-05/0.2919, allocations: 0 / 0.9812 GB, free: 26 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.574e-05/0.292, allocations: 0 / 0.9812 GB, free: 26 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 9.196e-05/0.2921, allocations: 7.938 kB / 0.9812 GB, free: 26 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006429/0.2927, allocations: 131.6 kB / 0.9813 GB, free: 25.87 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001419/0.2929, allocations: 103.8 kB / 0.9814 GB, free: 25.77 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 9.672e-05/0.293, allocations: 11.98 kB / 0.9814 GB, free: 25.76 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001265/0.2931, allocations: 43.89 kB / 0.9814 GB, free: 25.71 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001175/0.2932, allocations: 39.88 kB / 0.9815 GB, free: 25.68 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.101e-05/0.2933, allocations: 8 kB / 0.9815 GB, free: 25.67 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 7.387e-05/0.2933, allocations: 19.98 kB / 0.9815 GB, free: 25.65 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.637e-05/0.2934, allocations: 15.97 kB / 0.9815 GB, free: 25.63 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 6.49e-05/0.2935, allocations: 41.64 kB / 0.9816 GB, free: 25.59 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001419/0.2936, allocations: 83.97 kB / 0.9816 GB, free: 25.5 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.2936, allocations: 0 / 0.9816 GB, free: 25.5 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.482e-06/0.2936, allocations: 0 / 0.9816 GB, free: 25.5 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.939e-06/0.2936, allocations: 0 / 0.9816 GB, free: 25.5 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.0006356/0.2943, allocations: 384.9 kB / 0.982 GB, free: 25.07 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.92e-05/0.2943, allocations: 12.02 kB / 0.982 GB, free: 25.06 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.749e-05/0.2944, allocations: 34.56 kB / 0.982 GB, free: 25.02 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.195e-05/0.2944, allocations: 11.91 kB / 0.9821 GB, free: 25.01 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000127/0.2946, allocations: 171 kB / 0.9822 GB, free: 24.8 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.105e-05/0.2946, allocations: 4 kB / 0.9822 GB, free: 24.8 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.576e-05/0.2947, allocations: 11.94 kB / 0.9822 GB, free: 24.79 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002179/0.2949, allocations: 77.64 kB / 0.9823 GB, free: 24.7 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.077e-06/0.2949, allocations: 0 / 0.9823 GB, free: 24.7 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.449e-05/0.2949, allocations: 0 / 0.9823 GB, free: 24.7 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.863e-06/0.2949, allocations: 4 kB / 0.9823 GB, free: 24.7 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001609/0.2951, allocations: 43.97 kB / 0.9824 GB, free: 24.66 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004958/0.2956, allocations: 320.7 kB / 0.9827 GB, free: 24.29 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002058/0.2958, allocations: 74.48 kB / 0.9827 GB, free: 24.21 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001075/0.296, allocations: 44.88 kB / 0.9828 GB, free: 24.16 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.454e-05/0.296, allocations: 0 / 0.9828 GB, free: 24.16 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000236/0.2962, allocations: 107.3 kB / 0.9829 GB, free: 24.05 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=9): time 1.693e-06/0.2962, allocations: 0 / 0.9829 GB, free: 24.05 MB / 0.6198 GB Notification: Performance of matching and sorting (n=9): time 0.0005043/0.2967, allocations: 189.4 kB / 0.9831 GB, free: 23.86 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.42e-05/0.2968, allocations: 55.41 kB / 0.9831 GB, free: 23.79 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.453e-05/0.2969, allocations: 125.7 kB / 0.9832 GB, free: 23.66 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.69e-05/0.2969, allocations: 33.7 kB / 0.9833 GB, free: 23.62 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.754e-05/0.297, allocations: 88.33 kB / 0.9834 GB, free: 23.52 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.437e-05/0.297, allocations: 19.72 kB / 0.9834 GB, free: 23.5 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.343e-05/0.297, allocations: 4 kB / 0.9834 GB, free: 23.5 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.39e-05/0.2971, allocations: 318.8 kB / 0.9837 GB, free: 23.18 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001434/0.2972, allocations: 47.97 kB / 0.9837 GB, free: 23.13 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001525/0.2974, allocations: 74.48 kB / 0.9838 GB, free: 23.05 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001655/0.2976, allocations: 85.67 kB / 0.9839 GB, free: 22.96 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/0.2976, allocations: 0 / 0.9839 GB, free: 22.96 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003864/0.298, allocations: 191.4 kB / 0.9841 GB, free: 22.76 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 4.639e-05/0.2981, allocations: 39.56 kB / 0.9841 GB, free: 22.72 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.678e-06/0.2981, allocations: 4 kB / 0.9841 GB, free: 22.71 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.809e-05/0.2981, allocations: 4.062 kB / 0.9841 GB, free: 22.71 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001233/0.2982, allocations: 19.92 kB / 0.9841 GB, free: 22.69 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.157e-06/0.2982, allocations: 3.984 kB / 0.9841 GB, free: 22.69 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002134/0.2985, allocations: 43.88 kB / 0.9842 GB, free: 22.64 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.327e-05/0.2985, allocations: 15.94 kB / 0.9842 GB, free: 22.63 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 0.0001047/0.2986, allocations: 119.3 kB / 0.9843 GB, free: 22.5 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.834e-05/0.2986, allocations: 7.906 kB / 0.9843 GB, free: 22.5 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.176e-05/0.2987, allocations: 8.375 kB / 0.9843 GB, free: 22.49 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.408e-06/0.2987, allocations: 4 kB / 0.9843 GB, free: 22.49 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.184e-06/0.2987, allocations: 0.8438 kB / 0.9843 GB, free: 22.49 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.195e-06/0.2987, allocations: 3.984 kB / 0.9843 GB, free: 22.48 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004538/0.2992, allocations: 414.3 kB / 0.9847 GB, free: 22.02 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.235e-06/0.2992, allocations: 96 / 0.9847 GB, free: 22.02 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.227e-05/0.2992, allocations: 11.88 kB / 0.9847 GB, free: 22.01 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.328e-06/0.2992, allocations: 0 / 0.9847 GB, free: 22.01 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.466e-05/0.2993, allocations: 3.984 kB / 0.9847 GB, free: 22.01 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/0.2993, allocations: 0 / 0.9847 GB, free: 22.01 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.2993, allocations: 4 kB / 0.9847 GB, free: 22 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003115/0.2996, allocations: 247.3 kB / 0.985 GB, free: 21.75 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 6.272e-05/0.2997, allocations: 85.11 kB / 0.9851 GB, free: 21.64 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.205e-05/0.2997, allocations: 0 / 0.9851 GB, free: 21.64 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.704e-05/0.2998, allocations: 7.984 kB / 0.9851 GB, free: 21.64 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.473e-05/0.2998, allocations: 7.984 kB / 0.9851 GB, free: 21.63 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.652e-05/0.2999, allocations: 4 kB / 0.9851 GB, free: 21.62 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.555e-05/0.2999, allocations: 91.27 kB / 0.9852 GB, free: 21.54 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1e-07/0.2999, allocations: 0 / 0.9852 GB, free: 21.54 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002374/0.3002, allocations: 31.95 kB / 0.9852 GB, free: 21.5 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.000594/0.3008, allocations: 0.7787 MB / 0.986 GB, free: 20.7 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003371/0.3011, allocations: 187.7 kB / 0.9861 GB, free: 20.5 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.3011, allocations: 0 / 0.9861 GB, free: 20.5 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001292/0.3013, allocations: 59.91 kB / 0.9862 GB, free: 20.44 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002689/0.3015, allocations: 19.92 kB / 0.9862 GB, free: 20.42 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001068/0.3026, allocations: 0.6579 MB / 0.9868 GB, free: 19.72 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001417/0.3028, allocations: 0.6887 MB / 0.9875 GB, free: 19 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.701e-05/0.3028, allocations: 4.672 kB / 0.9875 GB, free: 19 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.319e-05/0.3029, allocations: 20.8 kB / 0.9875 GB, free: 18.98 MB / 0.6198 GB Notification: Performance of SimCode: time 3.11e-07/0.3029, allocations: 0 / 0.9875 GB, free: 18.98 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01407/0.3169, allocations: 2.422 MB / 0.9899 GB, free: 16.73 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001745/0.3172, allocations: 223.4 kB / 0.9901 GB, free: 16.49 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.747/2.064, allocations: 0 / 0.9901 GB, free: 16.49 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)