Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.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.MultiOr,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_CDL_Logical_Validation_MultiOr",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_CDL_Logical_Validation_MultiOr",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.755/2.755, allocations: 287.3 MB / 302.3 MB, free: 8.336 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.001644/0.001644, allocations: 189.7 kB / 370.8 MB, free: 10.88 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.123/2.123, allocations: 205.4 MB / 0.6295 GB, free: 10.63 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.001131/0.001131, allocations: 96.5 kB / 0.7428 GB, free: 6.633 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004929/0.0004929, allocations: 13.7 kB / 0.8657 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2211/0.2217, allocations: 115.3 MB / 0.9783 GB, free: 28.3 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr): time 0.001115/0.2228, allocations: 0.5372 MB / 0.9788 GB, free: 27.76 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002039/0.2249, allocations: 1.38 MB / 0.9802 GB, free: 26.37 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.861e-05/0.225, allocations: 0 / 0.9802 GB, free: 26.37 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001105/0.2252, allocations: 11.86 kB / 0.9802 GB, free: 26.36 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 9.203e-05/0.2253, allocations: 31.94 kB / 0.9802 GB, free: 26.32 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001795/0.2271, allocations: 479.3 kB / 0.9807 GB, free: 25.87 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0004516/0.2275, allocations: 235.6 kB / 0.9809 GB, free: 25.64 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001639/0.2277, allocations: 41.47 kB / 0.9809 GB, free: 25.6 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002007/0.2279, allocations: 151.7 kB / 0.9811 GB, free: 25.45 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000203/0.2281, allocations: 127.6 kB / 0.9812 GB, free: 25.32 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 8.971e-05/0.2282, allocations: 20 kB / 0.9812 GB, free: 25.3 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001457/0.2284, allocations: 35.98 kB / 0.9812 GB, free: 25.27 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 5.606e-05/0.2285, allocations: 39.89 kB / 0.9813 GB, free: 25.23 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001006/0.2286, allocations: 69.58 kB / 0.9814 GB, free: 25.16 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.000368/0.229, allocations: 279.5 kB / 0.9816 GB, free: 24.88 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.229, allocations: 0 / 0.9816 GB, free: 24.88 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.194e-06/0.229, allocations: 4 kB / 0.9816 GB, free: 24.88 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.291e-05/0.229, allocations: 0 / 0.9816 GB, free: 24.88 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0006565/0.2297, allocations: 0.5695 MB / 0.9822 GB, free: 24.23 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.638e-05/0.2297, allocations: 16.02 kB / 0.9822 GB, free: 24.21 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.31e-05/0.2298, allocations: 42.55 kB / 0.9822 GB, free: 24.16 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001219/0.2299, allocations: 35.72 kB / 0.9823 GB, free: 24.13 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004117/0.2304, allocations: 262.8 kB / 0.9825 GB, free: 23.83 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.473e-05/0.2304, allocations: 19.98 kB / 0.9825 GB, free: 23.81 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.728e-05/0.2305, allocations: 28 kB / 0.9826 GB, free: 23.79 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003305/0.2309, allocations: 148.6 kB / 0.9827 GB, free: 23.63 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.169e-05/0.2309, allocations: 0 / 0.9827 GB, free: 23.63 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.275e-05/0.2309, allocations: 8 kB / 0.9827 GB, free: 23.62 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.194e-06/0.2309, allocations: 0 / 0.9827 GB, free: 23.62 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002095/0.2311, allocations: 87.88 kB / 0.9828 GB, free: 23.54 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001154/0.2323, allocations: 0.7147 MB / 0.9835 GB, free: 22.77 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002522/0.2326, allocations: 179.6 kB / 0.9837 GB, free: 22.56 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.466e-05/0.2326, allocations: 0 / 0.9837 GB, free: 22.56 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003409/0.233, allocations: 157.4 kB / 0.9838 GB, free: 22.4 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=20): time 2.495e-06/0.233, allocations: 0 / 0.9838 GB, free: 22.4 MB / 0.6198 GB Notification: Performance of matching and sorting (n=20): time 0.0006714/0.2337, allocations: 235.4 kB / 0.984 GB, free: 22.16 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.086e-05/0.2337, allocations: 59.5 kB / 0.9841 GB, free: 22.09 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001858/0.2339, allocations: 194.6 kB / 0.9843 GB, free: 21.89 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 8.136e-05/0.234, allocations: 41.64 kB / 0.9843 GB, free: 21.85 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.000127/0.2342, allocations: 132.4 kB / 0.9845 GB, free: 21.71 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.198e-05/0.2342, allocations: 43.53 kB / 0.9845 GB, free: 21.67 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.076e-05/0.2344, allocations: 12 kB / 0.9845 GB, free: 21.66 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.106e-05/0.2344, allocations: 326.8 kB / 0.9848 GB, free: 21.33 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004974/0.2349, allocations: 151.9 kB / 0.985 GB, free: 21.18 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005322/0.2355, allocations: 242 kB / 0.9852 GB, free: 20.91 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004988/0.236, allocations: 296.3 kB / 0.9855 GB, free: 20.59 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.18e-06/0.236, allocations: 0 / 0.9855 GB, free: 20.59 MB / 0.6198 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001466/0.2375, allocations: 0.6188 MB / 0.9861 GB, free: 19.93 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001021/0.2376, allocations: 164.5 kB / 0.9862 GB, free: 19.74 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.058e-05/0.2377, allocations: 0 / 0.9862 GB, free: 19.74 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.481e-05/0.2377, allocations: 4 kB / 0.9862 GB, free: 19.73 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.082e-05/0.2378, allocations: 11.94 kB / 0.9863 GB, free: 19.72 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.196e-05/0.2378, allocations: 4 kB / 0.9863 GB, free: 19.72 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001592/0.2394, allocations: 201.7 kB / 0.9864 GB, free: 19.52 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001124/0.2395, allocations: 31.97 kB / 0.9865 GB, free: 19.49 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 26 ($whenCondition9,$whenCondition10,$whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,mulOr2.y,mulOr5.y,mulOr5.uTemp[2],mulOr5.uTemp[3],mulOr5.uTemp[4],$PRE.booPul1.y,booPul1.y,$PRE.booPul2.y,booPul2.y,$PRE.booPul3.y,booPul3.y,$PRE.booPul4.y,booPul4.y,$PRE.booPul5.y,booPul5.y,mulOr0.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 5 * 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.0002592/0.2398, allocations: 157.7 kB / 0.9866 GB, free: 19.33 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.398e-05/0.2398, allocations: 15.81 kB / 0.9866 GB, free: 19.31 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.794e-05/0.2399, allocations: 21.86 kB / 0.9867 GB, free: 19.3 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.272e-06/0.2399, allocations: 4 kB / 0.9867 GB, free: 19.29 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.074e-06/0.2399, allocations: 0 / 0.9867 GB, free: 19.29 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.5e-06/0.24, allocations: 4 kB / 0.9867 GB, free: 19.29 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007356/0.2407, allocations: 0.5022 MB / 0.9872 GB, free: 18.73 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/0.2407, allocations: 0 / 0.9872 GB, free: 18.73 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.42e-05/0.2408, allocations: 11.98 kB / 0.9872 GB, free: 18.72 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.342e-06/0.2408, allocations: 0 / 0.9872 GB, free: 18.72 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.813e-05/0.2408, allocations: 4 kB / 0.9872 GB, free: 18.71 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.499e-06/0.2408, allocations: 0 / 0.9872 GB, free: 18.71 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.956e-06/0.2408, allocations: 3.984 kB / 0.9872 GB, free: 18.71 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003816/0.2412, allocations: 294.8 kB / 0.9875 GB, free: 18.41 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 4.348e-05/0.2413, allocations: 92.86 kB / 0.9876 GB, free: 18.3 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.827e-05/0.2413, allocations: 11.98 kB / 0.9876 GB, free: 18.29 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001138/0.2415, allocations: 8 kB / 0.9876 GB, free: 18.28 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.991e-05/0.2415, allocations: 19.97 kB / 0.9876 GB, free: 18.26 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.049e-05/0.2416, allocations: 8 kB / 0.9876 GB, free: 18.25 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 9.506e-05/0.2417, allocations: 120.2 kB / 0.9877 GB, free: 18.14 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.6e-07/0.2417, allocations: 0 / 0.9877 GB, free: 18.14 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0006177/0.2423, allocations: 79.95 kB / 0.9878 GB, free: 18.06 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: 20 (mulOr5.uTemp[2],$whenCondition9,$whenCondition10,$whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,mulOr2.y,mulOr5.y,mulOr5.uTemp[3],mulOr5.uTemp[4],booPul1.y,booPul2.y,booPul3.y,booPul4.y,booPul5.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.0006768/0.243, allocations: 0.8293 MB / 0.9886 GB, free: 17.2 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001063/0.2441, allocations: 0.6146 MB / 0.9892 GB, free: 16.53 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.2441, allocations: 0 / 0.9892 GB, free: 16.53 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001604/0.2443, allocations: 75.86 kB / 0.9893 GB, free: 16.45 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000517/0.2448, allocations: 43.89 kB / 0.9893 GB, free: 16.41 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001392/0.2462, allocations: 2.304 MB / 0.9916 GB, free: 14.02 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002004/0.2465, allocations: 0.7323 MB / 0.9923 GB, free: 13.26 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001295/0.2467, allocations: 21.55 kB / 0.9923 GB, free: 13.23 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001094/0.2468, allocations: 55.42 kB / 0.9924 GB, free: 13.18 MB / 0.6198 GB Notification: Performance of SimCode: time 1.443e-06/0.2468, allocations: 0 / 0.9924 GB, free: 13.18 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03215/0.2789, allocations: 5.799 MB / 0.998 GB, free: 7.574 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002669/0.2793, allocations: 191.5 kB / 0.9982 GB, free: 7.324 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.604/2.883, allocations: 3.938 kB / 0.9982 GB, free: 7.32 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_CDL_Logical_Validation_MultiOr_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_CDL_Logical_Validation_MultiOr.fmu > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe 2>&1)