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.Nor.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.Nor,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_Nor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Nor,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_Nor",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.332/1.332, 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.001125/0.001124, allocations: 177 kB / 325.8 MB, free: 2.691 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.539/1.539, allocations: 205 MB / 0.576 GB, free: 21.02 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.0007172/0.0007173, allocations: 94.33 kB / 0.6797 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002906/0.0002906, allocations: 11.88 kB / 0.7933 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1501/0.1504, allocations: 105.4 MB / 0.8962 GB, free: 68.04 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Nor): time 0.001363/0.1518, allocations: 1.111 MB / 0.8973 GB, free: 66.92 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.000355/0.1522, allocations: 201.1 kB / 0.8975 GB, free: 66.72 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.033e-05/0.1523, allocations: 0 / 0.8975 GB, free: 66.72 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.542e-05/0.1523, allocations: 0 / 0.8975 GB, free: 66.72 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 7.821e-05/0.1524, allocations: 11.91 kB / 0.8975 GB, free: 66.71 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001407/0.1525, allocations: 15.94 kB / 0.8975 GB, free: 66.69 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 7.474e-05/0.1526, allocations: 51.84 kB / 0.8976 GB, free: 66.64 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 9.608e-05/0.1527, allocations: 16.22 kB / 0.8976 GB, free: 66.62 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 4.281e-05/0.1528, allocations: 19.92 kB / 0.8976 GB, free: 66.61 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.003e-05/0.1528, allocations: 19.86 kB / 0.8976 GB, free: 66.59 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.883e-05/0.1529, allocations: 4 kB / 0.8976 GB, free: 66.58 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.083e-05/0.1529, allocations: 0 / 0.8976 GB, free: 66.58 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.98e-05/0.1529, allocations: 7.984 kB / 0.8976 GB, free: 66.57 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 4.739e-05/0.153, allocations: 27.8 kB / 0.8977 GB, free: 66.55 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 7.486e-05/0.153, allocations: 47.84 kB / 0.8977 GB, free: 66.5 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.486e-06/0.153, allocations: 0 / 0.8977 GB, free: 66.5 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.874e-06/0.1531, allocations: 0 / 0.8977 GB, free: 66.5 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.667e-06/0.1531, allocations: 4 kB / 0.8977 GB, free: 66.5 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000444/0.1535, allocations: 363.4 kB / 0.8981 GB, free: 66.09 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.585e-05/0.1536, allocations: 8.031 kB / 0.8981 GB, free: 66.08 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.802e-05/0.1536, allocations: 34.75 kB / 0.8981 GB, free: 66.04 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.234e-05/0.1536, allocations: 0.9375 kB / 0.8981 GB, free: 66.04 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.802e-05/0.1537, allocations: 184.2 kB / 0.8983 GB, free: 65.82 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.928e-06/0.1537, allocations: 4.375 kB / 0.8983 GB, free: 65.82 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.356e-06/0.1537, allocations: 384 / 0.8983 GB, free: 65.82 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.276e-05/0.1538, allocations: 54.23 kB / 0.8983 GB, free: 65.76 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.003e-06/0.1538, allocations: 7.875 kB / 0.8983 GB, free: 65.75 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.414e-06/0.1538, allocations: 3.938 kB / 0.8984 GB, free: 65.75 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.419e-06/0.1539, allocations: 4 kB / 0.8984 GB, free: 65.74 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.735e-05/0.1539, allocations: 23.98 kB / 0.8984 GB, free: 65.72 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002828/0.1542, allocations: 284.7 kB / 0.8986 GB, free: 65.39 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 7.182e-05/0.1543, allocations: 46.56 kB / 0.8987 GB, free: 65.34 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.609e-05/0.1543, allocations: 16.98 kB / 0.8987 GB, free: 65.32 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 8.816e-06/0.1543, allocations: 3.938 kB / 0.8987 GB, free: 65.31 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001217/0.1545, allocations: 79.38 kB / 0.8988 GB, free: 65.22 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=7): time 1.323e-06/0.1545, allocations: 0 / 0.8988 GB, free: 65.22 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7): time 0.0001673/0.1546, allocations: 89.69 kB / 0.8989 GB, free: 65.13 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.661e-05/0.1547, allocations: 51.41 kB / 0.8989 GB, free: 65.07 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.097e-05/0.1547, allocations: 122 kB / 0.899 GB, free: 64.94 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 9.438e-06/0.1547, allocations: 25.7 kB / 0.8991 GB, free: 64.91 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.204e-05/0.1548, allocations: 92.12 kB / 0.8992 GB, free: 64.81 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.38e-05/0.1548, allocations: 11.81 kB / 0.8992 GB, free: 64.8 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.32e-05/0.1548, allocations: 13.72 kB / 0.8992 GB, free: 64.78 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.498e-05/0.1549, allocations: 330.8 kB / 0.8995 GB, free: 64.45 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.479e-05/0.1549, allocations: 12 kB / 0.8995 GB, free: 64.44 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.305e-05/0.155, allocations: 34.56 kB / 0.8995 GB, free: 64.39 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.754e-05/0.155, allocations: 46.81 kB / 0.8996 GB, free: 64.34 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.155, allocations: 0 / 0.8996 GB, free: 64.34 MB / 0.6042 GB Notification: Performance of matching and sorting (n=9) (initialization): time 9.086e-05/0.1551, allocations: 85.61 kB / 0.8997 GB, free: 64.25 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.079e-05/0.1551, allocations: 4 kB / 0.8997 GB, free: 64.25 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.1551, allocations: 0 / 0.8997 GB, free: 64.25 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.216e-05/0.1552, allocations: 7.984 kB / 0.8997 GB, free: 64.24 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.571e-05/0.1552, allocations: 4 kB / 0.8997 GB, free: 64.23 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.779e-06/0.1552, allocations: 0 / 0.8997 GB, free: 64.23 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.052e-05/0.1553, allocations: 23.89 kB / 0.8997 GB, free: 64.21 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.31e-06/0.1553, allocations: 0 / 0.8997 GB, free: 64.21 MB / 0.6042 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 ($whenCondition2,$whenCondition1,nor1.y,booPul2.pulseStart,$PRE.booPul2.pulseStart,booPul2.y,booPul1.pulseStart,$PRE.booPul1.pulseStart,booPul1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * 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 6.053e-05/0.1554, allocations: 133.7 kB / 0.8998 GB, free: 64.07 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.038e-05/0.1554, allocations: 4 kB / 0.8998 GB, free: 64.07 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.461e-05/0.1554, allocations: 8.375 kB / 0.8998 GB, free: 64.06 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.415e-06/0.1554, allocations: 4 kB / 0.8998 GB, free: 64.05 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.978e-06/0.1554, allocations: 0 / 0.8998 GB, free: 64.05 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.089e-06/0.1555, allocations: 3.984 kB / 0.8998 GB, free: 64.05 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.883e-05/0.1555, allocations: 173.5 kB / 0.9 GB, free: 63.83 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.1556, allocations: 4 kB / 0.9 GB, free: 63.83 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.435e-06/0.1556, allocations: 3.984 kB / 0.9 GB, free: 63.82 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.433e-06/0.1556, allocations: 4 kB / 0.9 GB, free: 63.82 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.756e-06/0.1556, allocations: 4 kB / 0.9 GB, free: 63.82 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.1556, allocations: 0 / 0.9 GB, free: 63.82 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.1556, allocations: 4 kB / 0.9 GB, free: 63.81 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.666e-05/0.1557, allocations: 96.97 kB / 0.9001 GB, free: 63.7 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.943e-05/0.1557, allocations: 81.02 kB / 0.9002 GB, free: 63.6 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.47e-05/0.1558, allocations: 7.922 kB / 0.9002 GB, free: 63.59 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.526e-05/0.1558, allocations: 20.17 kB / 0.9002 GB, free: 63.57 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.47e-05/0.1559, allocations: 11.98 kB / 0.9002 GB, free: 63.56 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.531e-06/0.1559, allocations: 7.938 kB / 0.9002 GB, free: 63.55 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.806e-05/0.1559, allocations: 87.27 kB / 0.9003 GB, free: 63.47 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.01e-07/0.1559, allocations: 4 kB / 0.9003 GB, free: 63.46 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001844/0.1561, allocations: 8 kB / 0.9003 GB, free: 63.46 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: 7 ($whenCondition2,$whenCondition1,booPul1.y,booPul1.pulseStart,booPul2.y,booPul2.pulseStart,nor1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0002833/0.1564, allocations: 0.6375 MB / 0.901 GB, free: 62.79 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 9.961e-05/0.1565, allocations: 47.92 kB / 0.901 GB, free: 62.75 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.1565, allocations: 0 / 0.901 GB, free: 62.75 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 4.167e-05/0.1566, allocations: 23.92 kB / 0.901 GB, free: 62.72 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002108/0.1568, allocations: 18.39 kB / 0.9011 GB, free: 62.71 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008949/0.1577, allocations: 1.293 MB / 0.9023 GB, free: 61.32 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001121/0.1578, allocations: 0.6887 MB / 0.903 GB, free: 60.61 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 2.855e-05/0.1579, allocations: 8 kB / 0.903 GB, free: 60.6 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.975e-05/0.1579, allocations: 15.44 kB / 0.903 GB, free: 60.58 MB / 0.6042 GB Notification: Performance of SimCode: time 3.21e-07/0.1579, allocations: 0 / 0.903 GB, free: 60.58 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01028/0.1682, allocations: 1.61 MB / 0.9046 GB, free: 59.11 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001226/0.1684, allocations: 206.7 kB / 0.9048 GB, free: 58.86 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.504/1.672, allocations: 0 / 0.9048 GB, free: 58.86 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_Nor_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_Nor.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe 2>&1)