Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid,fileNamePrefix="Buildings_8_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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001301/0.001305, allocations: 111.3 kB / 15.23 MB, free: 0.6602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001513/0.001513, allocations: 194.8 kB / 16.14 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.471/1.471, allocations: 205.1 MB / 222 MB, free: 4.734 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.599/1.599, allocations: 292.3 MB / 0.5484 GB, free: 13.69 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001384/0.001384, allocations: 77.78 kB / 0.671 GB, free: 26.41 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2173/0.2187, allocations: 114.5 MB / 0.7828 GB, free: 13.92 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid): time 0.001937/0.2207, allocations: 0.7357 MB / 0.7835 GB, free: 13.18 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.00137/0.2221, allocations: 1.189 MB / 0.7847 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.82e-05/0.2222, allocations: 0 / 0.7847 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.103e-05/0.2222, allocations: 3.938 kB / 0.7847 GB, free: 11.97 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.335e-05/0.2223, allocations: 3.938 kB / 0.7847 GB, free: 11.97 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003954/0.2227, allocations: 130.6 kB / 0.7848 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001164/0.2228, allocations: 123.7 kB / 0.7849 GB, free: 11.72 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 7.327e-05/0.2229, allocations: 4 kB / 0.7849 GB, free: 11.72 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 7.559e-05/0.2229, allocations: 39.91 kB / 0.785 GB, free: 11.68 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 8.443e-05/0.223, allocations: 55.8 kB / 0.785 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.415e-05/0.2231, allocations: 4 kB / 0.785 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 6.624e-05/0.2231, allocations: 19.98 kB / 0.7851 GB, free: 11.6 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.692e-05/0.2232, allocations: 11.98 kB / 0.7851 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 6.424e-05/0.2232, allocations: 43.81 kB / 0.7851 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001516/0.2234, allocations: 116 kB / 0.7852 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.2234, allocations: 4 kB / 0.7852 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of FrontEnd: time 8.22e-07/0.2234, allocations: 0 / 0.7852 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.547e-06/0.2234, allocations: 0 / 0.7852 GB, free: 11.43 MB / 0.6075 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.0005634/0.224, allocations: 401 kB / 0.7856 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.701e-05/0.224, allocations: 8.031 kB / 0.7856 GB, free: 10.97 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.027e-05/0.2241, allocations: 46.67 kB / 0.7857 GB, free: 10.92 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.165e-05/0.2241, allocations: 4.938 kB / 0.7857 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001088/0.2242, allocations: 168.3 kB / 0.7858 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.857e-05/0.2243, allocations: 384 / 0.7858 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.47e-05/0.2243, allocations: 16.36 kB / 0.7858 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002058/0.2245, allocations: 70.22 kB / 0.7859 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.187e-06/0.2245, allocations: 7.875 kB / 0.7859 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.36e-05/0.2245, allocations: 3.984 kB / 0.7859 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.428e-06/0.2245, allocations: 0 / 0.7859 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001546/0.2247, allocations: 43.91 kB / 0.786 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004359/0.2251, allocations: 312.9 kB / 0.7863 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001966/0.2254, allocations: 74.48 kB / 0.7863 GB, free: 10.13 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001052/0.2255, allocations: 36.91 kB / 0.7864 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 9.217e-06/0.2255, allocations: 0 / 0.7864 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002359/0.2257, allocations: 115.2 kB / 0.7865 GB, free: 9.965 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=9): time 1.272e-06/0.2257, allocations: 4 kB / 0.7865 GB, free: 9.961 MB / 0.6075 GB Notification: Performance of matching and sorting (n=9): time 0.0004781/0.2262, allocations: 177.5 kB / 0.7867 GB, free: 9.781 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.193e-05/0.2263, allocations: 55.41 kB / 0.7867 GB, free: 9.715 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.4e-05/0.2264, allocations: 121.7 kB / 0.7868 GB, free: 9.586 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.522e-05/0.2264, allocations: 29.7 kB / 0.7868 GB, free: 9.551 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.664e-05/0.2264, allocations: 92.11 kB / 0.7869 GB, free: 9.457 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.086e-05/0.2265, allocations: 15.81 kB / 0.787 GB, free: 9.441 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.311e-05/0.2265, allocations: 41.69 kB / 0.787 GB, free: 9.395 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 8.911e-05/0.2266, allocations: 322.8 kB / 0.7873 GB, free: 9.07 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001389/0.2268, allocations: 51.97 kB / 0.7873 GB, free: 9.02 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001453/0.2269, allocations: 74.47 kB / 0.7874 GB, free: 8.938 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002172/0.2272, allocations: 120.2 kB / 0.7875 GB, free: 8.805 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.2272, allocations: 0 / 0.7875 GB, free: 8.805 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003707/0.2275, allocations: 195.1 kB / 0.7877 GB, free: 8.602 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.953e-05/0.2276, allocations: 41.69 kB / 0.7878 GB, free: 8.555 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.2276, allocations: 0 / 0.7878 GB, free: 8.555 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.104e-05/0.2276, allocations: 7.984 kB / 0.7878 GB, free: 8.547 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001023/0.2277, allocations: 15.92 kB / 0.7878 GB, free: 8.531 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.08e-06/0.2277, allocations: 0 / 0.7878 GB, free: 8.531 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001827/0.2279, allocations: 32.03 kB / 0.7878 GB, free: 8.5 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.074e-05/0.228, allocations: 11.98 kB / 0.7878 GB, free: 8.488 MB / 0.6075 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,triggeredTrapezoid1.T,triggeredTrapezoid1.rate,triggeredTrapezoid1.endValue,booPul.y,$PRE.booPul.y,$whenCondition3,$whenCondition4) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.67e-05/0.228, allocations: 121.8 kB / 0.7879 GB, free: 8.359 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.719e-05/0.2281, allocations: 7.906 kB / 0.7879 GB, free: 8.352 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.28e-05/0.2281, allocations: 8.375 kB / 0.788 GB, free: 8.344 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.2281, allocations: 0 / 0.788 GB, free: 8.344 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.2281, allocations: 0 / 0.788 GB, free: 8.344 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.526e-06/0.2281, allocations: 4.828 kB / 0.788 GB, free: 8.34 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004533/0.2286, allocations: 410.3 kB / 0.7884 GB, free: 7.883 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.2286, allocations: 4 kB / 0.7884 GB, free: 7.879 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.138e-05/0.2286, allocations: 8.031 kB / 0.7884 GB, free: 7.871 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.2286, allocations: 3.938 kB / 0.7884 GB, free: 7.867 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.369e-05/0.2286, allocations: 3.984 kB / 0.7884 GB, free: 7.863 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.2287, allocations: 0 / 0.7884 GB, free: 7.863 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.2287, allocations: 0 / 0.7884 GB, free: 7.863 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003443/0.229, allocations: 247.3 kB / 0.7886 GB, free: 7.605 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.439e-05/0.229, allocations: 81.02 kB / 0.7887 GB, free: 7.508 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.145e-05/0.2291, allocations: 8 kB / 0.7887 GB, free: 7.5 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001025/0.2292, allocations: 3.984 kB / 0.7887 GB, free: 7.496 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.247e-05/0.2292, allocations: 7.984 kB / 0.7887 GB, free: 7.488 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.539e-05/0.2292, allocations: 7.938 kB / 0.7887 GB, free: 7.48 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.286e-05/0.2293, allocations: 91.27 kB / 0.7888 GB, free: 7.391 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2293, allocations: 3.938 kB / 0.7888 GB, free: 7.387 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002405/0.2295, allocations: 32 kB / 0.7888 GB, free: 7.355 MB / 0.6075 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005937/0.2301, allocations: 0.767 MB / 0.7896 GB, free: 6.562 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.000328/0.2305, allocations: 191.7 kB / 0.7898 GB, free: 6.363 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.2305, allocations: 4.125 kB / 0.7898 GB, free: 6.359 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001262/0.2306, allocations: 51.92 kB / 0.7898 GB, free: 6.309 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002552/0.2309, allocations: 16.86 kB / 0.7898 GB, free: 6.293 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001672/0.2326, allocations: 1.65 MB / 0.7914 GB, free: 4.543 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001979/0.2328, allocations: 0.6887 MB / 0.7921 GB, free: 3.828 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.099e-05/0.2328, allocations: 8.656 kB / 0.7921 GB, free: 3.82 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.202e-05/0.2329, allocations: 19.44 kB / 0.7921 GB, free: 3.801 MB / 0.6075 GB Notification: Performance of SimCode: time 2.1e-07/0.2329, allocations: 0 / 0.7921 GB, free: 3.801 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.821/2.054, allocations: 2.515 MB / 0.7946 GB, free: 1.422 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001943/2.054, allocations: 213.3 kB / 0.7948 GB, free: 1.168 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.661/3.715, allocations: 0 / 0.7948 GB, free: 1.168 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_TriggeredTrapezoid_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_TriggeredTrapezoid.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.pipe 2>&1)