Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_MultiOr",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr,fileNamePrefix="Buildings_maint_7_0_x_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 7.0.3-maint.7.0.x/package.mo): time 1.337/1.337, allocations: 251.5 MB / 266.7 MB, free: 11.04 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001124/0.001124, allocations: 171.3 kB / 325.8 MB, free: 2.699 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.502/1.502, allocations: 205 MB / 0.576 GB, free: 21.05 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007176/0.0007176, allocations: 84.86 kB / 0.6797 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002869/0.0002869, allocations: 11.12 kB / 0.7933 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1603/0.1606, allocations: 105.4 MB / 0.8962 GB, free: 68.1 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr): time 0.001313/0.1619, allocations: 1.325 MB / 0.8975 GB, free: 66.76 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0004272/0.1624, allocations: 329.5 kB / 0.8978 GB, free: 66.44 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.255e-05/0.1624, allocations: 4 kB / 0.8978 GB, free: 66.43 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001018/0.1625, allocations: 15.86 kB / 0.8978 GB, free: 66.42 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 5.346e-05/0.1626, allocations: 27.77 kB / 0.8979 GB, free: 66.39 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001787/0.1628, allocations: 51.95 kB / 0.8979 GB, free: 66.34 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.000152/0.1629, allocations: 187.3 kB / 0.8981 GB, free: 66.16 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001179/0.1631, allocations: 41.69 kB / 0.8981 GB, free: 66.11 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 4.84e-05/0.1631, allocations: 63.72 kB / 0.8982 GB, free: 66.05 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 6.499e-05/0.1632, allocations: 63.69 kB / 0.8982 GB, free: 65.98 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.269e-05/0.1632, allocations: 4 kB / 0.8983 GB, free: 65.98 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.982e-05/0.1632, allocations: 8 kB / 0.8983 GB, free: 65.97 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 3.684e-05/0.1633, allocations: 31.91 kB / 0.8983 GB, free: 65.94 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 5.943e-05/0.1633, allocations: 67.59 kB / 0.8984 GB, free: 65.88 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001161/0.1635, allocations: 159.4 kB / 0.8985 GB, free: 65.72 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.025e-06/0.1635, allocations: 0 / 0.8985 GB, free: 65.72 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.174e-06/0.1635, allocations: 0 / 0.8985 GB, free: 65.72 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.927e-06/0.1635, allocations: 3.938 kB / 0.8985 GB, free: 65.71 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.000595/0.1641, allocations: 494.9 kB / 0.899 GB, free: 65.18 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.587e-05/0.1641, allocations: 8.031 kB / 0.899 GB, free: 65.17 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.809e-05/0.1642, allocations: 50.73 kB / 0.899 GB, free: 65.11 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.34e-05/0.1642, allocations: 20.69 kB / 0.8991 GB, free: 65.09 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001824/0.1644, allocations: 224 kB / 0.8993 GB, free: 64.84 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.252e-05/0.1644, allocations: 12.38 kB / 0.8993 GB, free: 64.82 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.792e-05/0.1645, allocations: 12.38 kB / 0.8993 GB, free: 64.81 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001953/0.1647, allocations: 159.9 kB / 0.8994 GB, free: 64.64 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.256e-06/0.1647, allocations: 7.938 kB / 0.8995 GB, free: 64.64 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.235e-05/0.1647, allocations: 4 kB / 0.8995 GB, free: 64.63 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.488e-06/0.1647, allocations: 0 / 0.8995 GB, free: 64.63 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001366/0.1648, allocations: 111.9 kB / 0.8996 GB, free: 64.52 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007288/0.1656, allocations: 0.6098 MB / 0.9002 GB, free: 63.86 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002142/0.1658, allocations: 211.6 kB / 0.9004 GB, free: 63.62 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.111e-05/0.1659, allocations: 60.83 kB / 0.9004 GB, free: 63.56 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.163e-05/0.1659, allocations: 4 kB / 0.9004 GB, free: 63.56 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001431/0.1661, allocations: 140.2 kB / 0.9006 GB, free: 63.41 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=20): time 1.412e-06/0.1661, allocations: 0 / 0.9006 GB, free: 63.41 MB / 0.6042 GB Notification: Performance of matching and sorting (n=20): time 0.0002922/0.1664, allocations: 215.8 kB / 0.9008 GB, free: 63.2 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.459e-05/0.1664, allocations: 63.36 kB / 0.9008 GB, free: 63.12 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.316e-05/0.1665, allocations: 171.6 kB / 0.901 GB, free: 62.95 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.433e-05/0.1665, allocations: 37.78 kB / 0.901 GB, free: 62.9 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.716e-05/0.1666, allocations: 120.4 kB / 0.9011 GB, free: 62.78 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.37e-05/0.1666, allocations: 39.81 kB / 0.9012 GB, free: 62.74 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.244e-05/0.1666, allocations: 37.7 kB / 0.9012 GB, free: 62.7 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.129e-05/0.1667, allocations: 330.8 kB / 0.9015 GB, free: 62.37 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.613e-05/0.1667, allocations: 51.91 kB / 0.9016 GB, free: 62.32 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.811e-05/0.1668, allocations: 97.98 kB / 0.9017 GB, free: 62.2 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001124/0.1669, allocations: 132.2 kB / 0.9018 GB, free: 62.05 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.1669, allocations: 0 / 0.9018 GB, free: 62.05 MB / 0.6042 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0001926/0.1671, allocations: 193.2 kB / 0.902 GB, free: 61.86 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.097e-05/0.1672, allocations: 7.938 kB / 0.902 GB, free: 61.85 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.999e-06/0.1672, allocations: 4 kB / 0.902 GB, free: 61.84 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.131e-05/0.1672, allocations: 0 / 0.902 GB, free: 61.84 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.369e-05/0.1673, allocations: 19.92 kB / 0.902 GB, free: 61.82 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.202e-06/0.1673, allocations: 7.938 kB / 0.902 GB, free: 61.82 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001703/0.1674, allocations: 51.98 kB / 0.9021 GB, free: 61.77 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.136e-05/0.1675, allocations: 12 kB / 0.9021 GB, free: 61.75 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 26 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,booPul5.pulseStart,$PRE.booPul5.pulseStart,booPul4.pulseStart,$PRE.booPul4.pulseStart,booPul3.pulseStart,$PRE.booPul3.pulseStart,booPul2.pulseStart,$PRE.booPul2.pulseStart,booPul1.pulseStart,$PRE.booPul1.pulseStart,mulOr5.uTemp[4],mulOr5.uTemp[3],mulOr5.uTemp[2],mulOr5.y,mulOr5.u[5],mulOr5.u[4],mulOr5.u[3],mulOr5.u[1],mulOr2.y,mulOr2.u[2],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): 26 * Array equations: 0 * Algorithm blocks: 0 * 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.574e-05/0.1676, allocations: 143.8 kB / 0.9022 GB, free: 61.6 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.842e-05/0.1676, allocations: 19.75 kB / 0.9022 GB, free: 61.58 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.78e-05/0.1676, allocations: 21.19 kB / 0.9023 GB, free: 61.56 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.1676, allocations: 4 kB / 0.9023 GB, free: 61.56 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/0.1676, allocations: 0 / 0.9023 GB, free: 61.56 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.818e-06/0.1676, allocations: 3.984 kB / 0.9023 GB, free: 61.55 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003699/0.168, allocations: 0.4997 MB / 0.9028 GB, free: 61 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.168, allocations: 0 / 0.9028 GB, free: 61 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.813e-05/0.1681, allocations: 11.92 kB / 0.9028 GB, free: 60.99 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.1681, allocations: 0 / 0.9028 GB, free: 60.99 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.015e-05/0.1681, allocations: 4 kB / 0.9028 GB, free: 60.98 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.1681, allocations: 0 / 0.9028 GB, free: 60.98 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.1681, allocations: 8 kB / 0.9028 GB, free: 60.98 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001803/0.1683, allocations: 255.2 kB / 0.903 GB, free: 60.71 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 4.66e-05/0.1683, allocations: 96.91 kB / 0.9031 GB, free: 60.6 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.177e-05/0.1684, allocations: 4 kB / 0.9031 GB, free: 60.59 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001836/0.1685, allocations: 39.97 kB / 0.9032 GB, free: 60.55 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.47e-05/0.1686, allocations: 35.84 kB / 0.9032 GB, free: 60.52 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.308e-06/0.1686, allocations: 4 kB / 0.9032 GB, free: 60.52 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 4.987e-05/0.1687, allocations: 123.2 kB / 0.9033 GB, free: 60.39 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1687, allocations: 0 / 0.9033 GB, free: 60.39 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002339/0.1689, allocations: 39.94 kB / 0.9033 GB, free: 60.36 MB / 0.6042 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],$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,mulOr2.u[2],mulOr2.y,mulOr5.u[1],mulOr5.u[3],mulOr5.u[4],mulOr5.u[5],mulOr5.y,mulOr5.uTemp[3],mulOr5.uTemp[4],booPul1.pulseStart,booPul2.pulseStart,booPul3.pulseStart,booPul4.pulseStart,booPul5.pulseStart) * 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 (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.0003503/0.1693, allocations: 0.8153 MB / 0.9041 GB, free: 59.52 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001863/0.1695, allocations: 142.2 kB / 0.9043 GB, free: 59.38 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.1695, allocations: 3.938 kB / 0.9043 GB, free: 59.38 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 9.117e-05/0.1696, allocations: 75.91 kB / 0.9044 GB, free: 59.3 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003493/0.1699, allocations: 44.28 kB / 0.9044 GB, free: 59.26 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001399/0.1713, allocations: 2.021 MB / 0.9064 GB, free: 57.12 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001225/0.1715, allocations: 0.7322 MB / 0.9071 GB, free: 56.36 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 7.587e-05/0.1716, allocations: 37.5 kB / 0.9071 GB, free: 56.32 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.873e-05/0.1716, allocations: 51.42 kB / 0.9072 GB, free: 56.27 MB / 0.6042 GB Notification: Performance of SimCode: time 2.91e-07/0.1716, allocations: 0 / 0.9072 GB, free: 56.27 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01158/0.1832, allocations: 3.642 MB / 0.9107 GB, free: 52.79 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001345/0.1834, allocations: 211.7 kB / 0.9109 GB, free: 52.54 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.612/1.795, allocations: 1.25 kB / 0.9109 GB, free: 52.54 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_MultiOr_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_MultiOr.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe 2>&1)