Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.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.Validation.TriggeredTrapezoid,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_CDL_Logical_Validation_TriggeredTrapezoid",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 2.604/2.604, allocations: 287.5 MB / 302.4 MB, free: 8.277 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.001403/0.001403, allocations: 187.8 kB / 371 MB, free: 10.86 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.241/2.241, allocations: 205.4 MB / 0.6297 GB, free: 10.64 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.0009001/0.0009002, allocations: 86.34 kB / 0.743 GB, free: 6.637 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005138/0.0005141, allocations: 12.45 kB / 0.8659 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2234/0.224, allocations: 115.3 MB / 0.9785 GB, free: 28.27 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid): time 0.0008789/0.2249, allocations: 394.6 kB / 0.9788 GB, free: 27.88 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001673/0.2266, allocations: 1.146 MB / 0.98 GB, free: 26.72 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.903e-05/0.2267, allocations: 0 / 0.98 GB, free: 26.72 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.663e-05/0.2267, allocations: 11.94 kB / 0.98 GB, free: 26.71 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 8.24e-05/0.2268, allocations: 11.91 kB / 0.98 GB, free: 26.7 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006283/0.2275, allocations: 118.8 kB / 0.9801 GB, free: 26.58 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001407/0.2276, allocations: 107.7 kB / 0.9802 GB, free: 26.48 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 8.446e-05/0.2277, allocations: 4 kB / 0.9802 GB, free: 26.47 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 9.901e-05/0.2278, allocations: 47.88 kB / 0.9803 GB, free: 26.43 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001011/0.2279, allocations: 47.88 kB / 0.9803 GB, free: 26.38 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.564e-05/0.228, allocations: 8 kB / 0.9803 GB, free: 26.37 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 9.964e-05/0.2281, allocations: 15.98 kB / 0.9803 GB, free: 26.36 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 3.051e-05/0.2282, allocations: 19.91 kB / 0.9803 GB, free: 26.34 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 5.106e-05/0.2282, allocations: 37.7 kB / 0.9804 GB, free: 26.29 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001414/0.2284, allocations: 80.03 kB / 0.9805 GB, free: 26.21 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.382e-06/0.2284, allocations: 0 / 0.9805 GB, free: 26.21 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.914e-06/0.2284, allocations: 0 / 0.9805 GB, free: 26.21 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.268e-06/0.2284, allocations: 0 / 0.9805 GB, free: 26.21 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.0006182/0.229, allocations: 377 kB / 0.9808 GB, free: 25.79 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.5e-05/0.2291, allocations: 16.02 kB / 0.9808 GB, free: 25.78 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.432e-05/0.2291, allocations: 42.55 kB / 0.9809 GB, free: 25.73 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.161e-05/0.2292, allocations: 7.906 kB / 0.9809 GB, free: 25.72 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001041/0.2293, allocations: 175 kB / 0.981 GB, free: 25.51 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.559e-05/0.2294, allocations: 4 kB / 0.981 GB, free: 25.5 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.213e-05/0.2294, allocations: 12 kB / 0.9811 GB, free: 25.49 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002899/0.2297, allocations: 73.58 kB / 0.9811 GB, free: 25.41 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.647e-06/0.2298, allocations: 0 / 0.9811 GB, free: 25.41 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.751e-05/0.2298, allocations: 4 kB / 0.9811 GB, free: 25.41 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.201e-06/0.2298, allocations: 4 kB / 0.9811 GB, free: 25.41 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002504/0.2301, allocations: 47.91 kB / 0.9812 GB, free: 25.36 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005508/0.2306, allocations: 324.7 kB / 0.9815 GB, free: 24.99 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000316/0.231, allocations: 78.47 kB / 0.9816 GB, free: 24.91 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001858/0.2312, allocations: 36.91 kB / 0.9816 GB, free: 24.87 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 9.999e-06/0.2312, allocations: 4 kB / 0.9816 GB, free: 24.86 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003663/0.2316, allocations: 107.3 kB / 0.9817 GB, free: 24.75 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=9): time 2.414e-06/0.2316, allocations: 0 / 0.9817 GB, free: 24.75 MB / 0.6198 GB Notification: Performance of matching and sorting (n=9): time 0.0007924/0.2324, allocations: 189.5 kB / 0.9819 GB, free: 24.55 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.853e-05/0.2324, allocations: 55.41 kB / 0.9819 GB, free: 24.49 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.717e-05/0.2325, allocations: 117.7 kB / 0.9821 GB, free: 24.36 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.372e-05/0.2326, allocations: 29.7 kB / 0.9821 GB, free: 24.33 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.843e-05/0.2326, allocations: 92.31 kB / 0.9822 GB, free: 24.23 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.777e-05/0.2327, allocations: 19.7 kB / 0.9822 GB, free: 24.21 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.37e-05/0.2327, allocations: 8 kB / 0.9822 GB, free: 24.2 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.208e-05/0.2328, allocations: 323.6 kB / 0.9825 GB, free: 23.88 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002245/0.233, allocations: 47.97 kB / 0.9826 GB, free: 23.83 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002348/0.2333, allocations: 66.55 kB / 0.9826 GB, free: 23.76 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002469/0.2335, allocations: 81.69 kB / 0.9827 GB, free: 23.67 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.935e-06/0.2335, allocations: 0 / 0.9827 GB, free: 23.67 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000601/0.2342, allocations: 203.1 kB / 0.9829 GB, free: 23.46 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 4.196e-05/0.2342, allocations: 33.7 kB / 0.9829 GB, free: 23.42 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.545e-06/0.2342, allocations: 4.078 kB / 0.9829 GB, free: 23.42 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.507e-05/0.2342, allocations: 3.938 kB / 0.9829 GB, free: 23.41 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000169/0.2344, allocations: 12 kB / 0.9829 GB, free: 23.4 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.764e-06/0.2344, allocations: 4.062 kB / 0.9829 GB, free: 23.4 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003595/0.2348, allocations: 53.22 kB / 0.983 GB, free: 23.35 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.066e-05/0.2349, allocations: 8 kB / 0.983 GB, free: 23.34 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.0001088/0.235, allocations: 121.8 kB / 0.9831 GB, free: 23.21 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.408e-05/0.235, allocations: 7.906 kB / 0.9831 GB, free: 23.2 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.121e-05/0.2351, allocations: 8.375 kB / 0.9831 GB, free: 23.2 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.422e-06/0.2351, allocations: 4 kB / 0.9831 GB, free: 23.2 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.2351, allocations: 3.938 kB / 0.9831 GB, free: 23.19 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.2351, allocations: 0 / 0.9831 GB, free: 23.19 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006984/0.2358, allocations: 406.4 kB / 0.9835 GB, free: 22.74 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-06/0.2358, allocations: 7.984 kB / 0.9835 GB, free: 22.73 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.169e-05/0.2359, allocations: 4 kB / 0.9835 GB, free: 22.73 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.408e-06/0.2359, allocations: 0 / 0.9835 GB, free: 22.73 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.82e-05/0.2359, allocations: 8 kB / 0.9835 GB, free: 22.72 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.2359, allocations: 0 / 0.9835 GB, free: 22.72 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/0.236, allocations: 3.953 kB / 0.9835 GB, free: 22.71 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005453/0.2365, allocations: 247.3 kB / 0.9838 GB, free: 22.46 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.951e-05/0.2366, allocations: 81.11 kB / 0.9839 GB, free: 22.36 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.038e-05/0.2366, allocations: 4 kB / 0.9839 GB, free: 22.36 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001564/0.2368, allocations: 7.984 kB / 0.9839 GB, free: 22.35 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.041e-05/0.2368, allocations: 4 kB / 0.9839 GB, free: 22.34 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.618e-05/0.2368, allocations: 15.94 kB / 0.9839 GB, free: 22.33 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.53e-05/0.2369, allocations: 91.41 kB / 0.984 GB, free: 22.24 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.71e-07/0.2369, allocations: 0 / 0.984 GB, free: 22.24 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003521/0.2373, allocations: 20 kB / 0.984 GB, free: 22.22 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.0008399/0.2381, allocations: 0.7879 MB / 0.9848 GB, free: 21.4 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0005522/0.2387, allocations: 191.2 kB / 0.985 GB, free: 21.2 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.2387, allocations: 0 / 0.985 GB, free: 21.2 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002211/0.2389, allocations: 55.97 kB / 0.985 GB, free: 21.15 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000387/0.2393, allocations: 12 kB / 0.985 GB, free: 21.14 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001588/0.241, allocations: 0.653 MB / 0.9857 GB, free: 20.44 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001399/0.2411, allocations: 0.6926 MB / 0.9863 GB, free: 19.72 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 5.212e-05/0.2412, allocations: 4.656 kB / 0.9863 GB, free: 19.71 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.3e-05/0.2412, allocations: 19.44 kB / 0.9864 GB, free: 19.7 MB / 0.6198 GB Notification: Performance of SimCode: time 1.222e-06/0.2413, allocations: 0 / 0.9864 GB, free: 19.7 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02483/0.2661, allocations: 2.426 MB / 0.9887 GB, free: 17.46 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002147/0.2664, allocations: 207.8 kB / 0.9889 GB, free: 17.21 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.472/2.738, allocations: 8.062 kB / 0.9889 GB, free: 17.21 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_CDL_Logical_Validation_TriggeredTrapezoid_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_CDL_Logical_Validation_TriggeredTrapezoid.fmu > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.pipe 2>&1)