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.Nand.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.Nand,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_Nand",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Nand,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_Nand",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.309/1.309, allocations: 251.5 MB / 266.7 MB, free: 11.03 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.0008883/0.0008884, allocations: 175.2 kB / 325.8 MB, free: 2.66 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.556/1.556, allocations: 205 MB / 0.576 GB, free: 20.99 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.0007468/0.0007469, allocations: 95.19 kB / 0.6797 GB, free: 14.7 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003096/0.0003097, allocations: 8.438 kB / 0.7933 GB, free: 136.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1633/0.1637, allocations: 105.4 MB / 0.8962 GB, free: 68.02 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Nand): time 0.001151/0.1648, allocations: 1.119 MB / 0.8973 GB, free: 66.89 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0003127/0.1652, allocations: 201.1 kB / 0.8975 GB, free: 66.69 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.239e-05/0.1652, allocations: 0 / 0.8975 GB, free: 66.69 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.625e-05/0.1653, allocations: 3.984 kB / 0.8975 GB, free: 66.68 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 6.544e-05/0.1653, allocations: 7.938 kB / 0.8975 GB, free: 66.68 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001115/0.1654, allocations: 19.92 kB / 0.8975 GB, free: 66.66 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 7.773e-05/0.1655, allocations: 51.84 kB / 0.8976 GB, free: 66.61 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 7.795e-05/0.1656, allocations: 12.22 kB / 0.8976 GB, free: 66.59 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 3.721e-05/0.1657, allocations: 23.91 kB / 0.8976 GB, free: 66.57 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 3.882e-05/0.1657, allocations: 23.86 kB / 0.8976 GB, free: 66.55 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.719e-05/0.1657, allocations: 0 / 0.8976 GB, free: 66.55 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.003e-05/0.1657, allocations: 4 kB / 0.8976 GB, free: 66.54 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.543e-05/0.1658, allocations: 0 / 0.8976 GB, free: 66.54 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.949e-05/0.1658, allocations: 31.84 kB / 0.8977 GB, free: 66.51 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 6.596e-05/0.1659, allocations: 51.78 kB / 0.8977 GB, free: 66.46 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.1659, allocations: 0 / 0.8977 GB, free: 66.46 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.122e-06/0.1659, allocations: 0 / 0.8977 GB, free: 66.46 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.827e-06/0.1659, allocations: 0 / 0.8977 GB, free: 66.46 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.0003888/0.1663, allocations: 372.4 kB / 0.8981 GB, free: 66.05 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.217e-05/0.1663, allocations: 8.031 kB / 0.8981 GB, free: 66.04 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.584e-05/0.1664, allocations: 34.75 kB / 0.8981 GB, free: 66 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.317e-05/0.1664, allocations: 4.938 kB / 0.8981 GB, free: 65.99 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.195e-05/0.1665, allocations: 172.2 kB / 0.8983 GB, free: 65.79 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.324e-06/0.1665, allocations: 384 / 0.8983 GB, free: 65.79 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.164e-05/0.1665, allocations: 12.36 kB / 0.8983 GB, free: 65.77 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.417e-05/0.1666, allocations: 50.25 kB / 0.8983 GB, free: 65.72 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.191e-06/0.1666, allocations: 7.875 kB / 0.8984 GB, free: 65.71 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.484e-06/0.1666, allocations: 0 / 0.8984 GB, free: 65.71 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.747e-06/0.1666, allocations: 0 / 0.8984 GB, free: 65.71 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.846e-05/0.1667, allocations: 27.92 kB / 0.8984 GB, free: 65.68 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002794/0.167, allocations: 280.7 kB / 0.8986 GB, free: 65.36 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 6.886e-05/0.1671, allocations: 50.58 kB / 0.8987 GB, free: 65.3 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.775e-05/0.1671, allocations: 28.91 kB / 0.8987 GB, free: 65.27 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.018e-05/0.1671, allocations: 4 kB / 0.8987 GB, free: 65.27 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001131/0.1672, allocations: 71.39 kB / 0.8988 GB, free: 65.18 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=7): time 1.323e-06/0.1672, allocations: 4 kB / 0.8988 GB, free: 65.18 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7): time 0.0001546/0.1674, allocations: 77.67 kB / 0.8989 GB, free: 65.1 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.487e-05/0.1674, allocations: 59.41 kB / 0.8989 GB, free: 65.03 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.231e-05/0.1675, allocations: 118.1 kB / 0.899 GB, free: 64.9 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 8.887e-06/0.1675, allocations: 29.7 kB / 0.8991 GB, free: 64.87 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.326e-05/0.1675, allocations: 80.14 kB / 0.8991 GB, free: 64.79 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.24e-05/0.1675, allocations: 23.73 kB / 0.8992 GB, free: 64.76 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.191e-05/0.1676, allocations: 21.7 kB / 0.8992 GB, free: 64.73 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 3.347e-05/0.1676, allocations: 314.8 kB / 0.8995 GB, free: 64.42 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.462e-05/0.1676, allocations: 19.98 kB / 0.8995 GB, free: 64.4 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.156e-05/0.1677, allocations: 38.56 kB / 0.8995 GB, free: 64.35 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.565e-05/0.1677, allocations: 50.81 kB / 0.8996 GB, free: 64.29 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.303e-06/0.1677, allocations: 0 / 0.8996 GB, free: 64.29 MB / 0.6042 GB Notification: Performance of matching and sorting (n=9) (initialization): time 8.716e-05/0.1678, allocations: 73.62 kB / 0.8997 GB, free: 64.21 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.003e-05/0.1678, allocations: 8 kB / 0.8997 GB, free: 64.21 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.667e-06/0.1679, allocations: 4.062 kB / 0.8997 GB, free: 64.2 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.566e-06/0.1679, allocations: 0 / 0.8997 GB, free: 64.2 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.999e-05/0.1679, allocations: 4 kB / 0.8997 GB, free: 64.2 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.13e-06/0.1679, allocations: 4 kB / 0.8997 GB, free: 64.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.173e-05/0.168, allocations: 15.89 kB / 0.8997 GB, free: 64.18 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.41e-06/0.168, allocations: 4 kB / 0.8997 GB, free: 64.18 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,nand1.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 4.894e-05/0.1681, allocations: 125.7 kB / 0.8998 GB, free: 64.04 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.058e-05/0.1681, allocations: 11.94 kB / 0.8998 GB, free: 64.03 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.407e-05/0.1681, allocations: 8.375 kB / 0.8998 GB, free: 64.02 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.372e-06/0.1681, allocations: 0 / 0.8998 GB, free: 64.02 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.085e-06/0.1681, allocations: 0 / 0.8998 GB, free: 64.02 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.1681, allocations: 0 / 0.8998 GB, free: 64.02 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.117e-05/0.1682, allocations: 185.5 kB / 0.9 GB, free: 63.79 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.1682, allocations: 0 / 0.9 GB, free: 63.79 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.165e-06/0.1682, allocations: 4 kB / 0.9 GB, free: 63.79 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.282e-06/0.1683, allocations: 0 / 0.9 GB, free: 63.79 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.432e-06/0.1683, allocations: 0 / 0.9 GB, free: 63.79 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.1683, allocations: 0 / 0.9 GB, free: 63.79 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.1683, allocations: 4.188 kB / 0.9 GB, free: 63.79 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.107e-05/0.1684, allocations: 104.9 kB / 0.9001 GB, free: 63.66 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.674e-05/0.1684, allocations: 92.94 kB / 0.9002 GB, free: 63.55 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.345e-05/0.1684, allocations: 0 / 0.9002 GB, free: 63.55 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.541e-05/0.1685, allocations: 19.98 kB / 0.9002 GB, free: 63.54 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.817e-05/0.1685, allocations: 11.92 kB / 0.9002 GB, free: 63.52 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.558e-06/0.1686, allocations: 4 kB / 0.9003 GB, free: 63.52 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.688e-05/0.1686, allocations: 91.27 kB / 0.9003 GB, free: 63.43 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.21e-07/0.1686, allocations: 0 / 0.9003 GB, free: 63.43 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001828/0.1688, allocations: 16 kB / 0.9004 GB, free: 63.41 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,nand1.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.0002304/0.169, allocations: 0.6281 MB / 0.901 GB, free: 62.76 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 8.807e-05/0.1691, allocations: 51.91 kB / 0.901 GB, free: 62.71 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.1691, allocations: 0 / 0.901 GB, free: 62.71 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 3.829e-05/0.1692, allocations: 20.62 kB / 0.901 GB, free: 62.69 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001933/0.1694, allocations: 22.33 kB / 0.9011 GB, free: 62.67 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007349/0.1701, allocations: 1.288 MB / 0.9023 GB, free: 61.29 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.482e-05/0.1702, allocations: 0.6886 MB / 0.903 GB, free: 60.57 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 2.583e-05/0.1702, allocations: 4 kB / 0.903 GB, free: 60.57 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.372e-05/0.1703, allocations: 23.42 kB / 0.903 GB, free: 60.54 MB / 0.6042 GB Notification: Performance of SimCode: time 3.5e-07/0.1703, allocations: 0 / 0.903 GB, free: 60.54 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.009828/0.1801, allocations: 1.606 MB / 0.9046 GB, free: 59.07 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001251/0.1802, allocations: 213.8 kB / 0.9048 GB, free: 58.82 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.457/1.637, allocations: 0 / 0.9048 GB, free: 58.82 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_Nand_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_Nand.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe 2>&1)