Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.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.Nor,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_Nor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Nor,fileNamePrefix="Buildings_8_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001153/0.001153, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001209/0.001209, allocations: 194.5 kB / 16.53 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.468/1.468, allocations: 205.1 MB / 222.4 MB, free: 4.625 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.545/1.545, allocations: 292.3 MB / 0.5489 GB, free: 12.84 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.001266/0.001266, allocations: 73.81 kB / 0.6716 GB, free: 26.25 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1626/0.1639, allocations: 114.5 MB / 0.7835 GB, free: 13.37 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Nor): time 0.001508/0.1655, allocations: 0.6671 MB / 0.7841 GB, free: 12.69 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001097/0.1666, allocations: 1.18 MB / 0.7853 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.586e-05/0.1666, allocations: 0 / 0.7853 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.111e-05/0.1667, allocations: 3.938 kB / 0.7853 GB, free: 11.49 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.307e-05/0.1667, allocations: 11.86 kB / 0.7853 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004998/0.1672, allocations: 216.9 kB / 0.7855 GB, free: 11.28 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001621/0.1674, allocations: 187.7 kB / 0.7857 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 6.686e-05/0.1675, allocations: 11.98 kB / 0.7857 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 6.884e-05/0.1675, allocations: 63.89 kB / 0.7858 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 7.453e-05/0.1676, allocations: 55.86 kB / 0.7858 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.079e-05/0.1676, allocations: 12 kB / 0.7858 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 6.753e-05/0.1677, allocations: 27.98 kB / 0.7859 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.708e-05/0.1677, allocations: 15.92 kB / 0.7859 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 7.021e-05/0.1678, allocations: 59.83 kB / 0.7859 GB, free: 10.85 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001533/0.168, allocations: 147.9 kB / 0.7861 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.475e-06/0.168, allocations: 0 / 0.7861 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.092e-06/0.168, allocations: 0 / 0.7861 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.833e-06/0.168, allocations: 3.938 kB / 0.7861 GB, free: 10.7 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003809/0.1684, allocations: 438.6 kB / 0.7865 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 2.975e-05/0.1684, allocations: 16.02 kB / 0.7865 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.517e-05/0.1685, allocations: 38.75 kB / 0.7866 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.01e-05/0.1685, allocations: 8.938 kB / 0.7866 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.361e-05/0.1686, allocations: 172.3 kB / 0.7867 GB, free: 9.934 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.333e-05/0.1686, allocations: 4.375 kB / 0.7867 GB, free: 9.93 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.795e-05/0.1686, allocations: 12.36 kB / 0.7867 GB, free: 9.918 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.889e-05/0.1687, allocations: 46.25 kB / 0.7868 GB, free: 9.867 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.442e-06/0.1687, allocations: 3.938 kB / 0.7868 GB, free: 9.863 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.423e-06/0.1687, allocations: 4 kB / 0.7868 GB, free: 9.859 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.146e-06/0.1688, allocations: 0 / 0.7868 GB, free: 9.859 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.397e-05/0.1688, allocations: 19.92 kB / 0.7868 GB, free: 9.84 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003547/0.1692, allocations: 356.7 kB / 0.7872 GB, free: 9.441 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 5.882e-05/0.1692, allocations: 34.58 kB / 0.7872 GB, free: 9.398 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.482e-05/0.1693, allocations: 16.94 kB / 0.7872 GB, free: 9.379 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 8.276e-06/0.1693, allocations: 3.984 kB / 0.7872 GB, free: 9.375 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001184/0.1694, allocations: 87.22 kB / 0.7873 GB, free: 9.277 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 1.273e-06/0.1694, allocations: 4 kB / 0.7873 GB, free: 9.273 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.000189/0.1696, allocations: 97.66 kB / 0.7874 GB, free: 9.172 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.786e-05/0.1696, allocations: 59.34 kB / 0.7874 GB, free: 9.102 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.104e-05/0.1697, allocations: 121.7 kB / 0.7876 GB, free: 8.973 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.767e-05/0.1697, allocations: 29.7 kB / 0.7876 GB, free: 8.938 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.767e-05/0.1698, allocations: 96.06 kB / 0.7877 GB, free: 8.84 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.472e-05/0.1698, allocations: 15.81 kB / 0.7877 GB, free: 8.824 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.292e-05/0.1699, allocations: 45.69 kB / 0.7877 GB, free: 8.773 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 7.944e-05/0.17, allocations: 330.8 kB / 0.7881 GB, free: 8.441 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001148/0.1701, allocations: 51.97 kB / 0.7881 GB, free: 8.391 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000125/0.1702, allocations: 96.62 kB / 0.7882 GB, free: 8.281 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001559/0.1704, allocations: 159.7 kB / 0.7883 GB, free: 8.098 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.1704, allocations: 0 / 0.7883 GB, free: 8.098 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003509/0.1708, allocations: 260.9 kB / 0.7886 GB, free: 7.824 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.743e-05/0.1708, allocations: 67.39 kB / 0.7887 GB, free: 7.746 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.757e-06/0.1708, allocations: 0 / 0.7887 GB, free: 7.746 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.02e-05/0.1708, allocations: 4 kB / 0.7887 GB, free: 7.742 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.665e-05/0.1708, allocations: 7.922 kB / 0.7887 GB, free: 7.734 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.37e-06/0.1709, allocations: 4.125 kB / 0.7887 GB, free: 7.73 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003267/0.1712, allocations: 59.78 kB / 0.7887 GB, free: 7.672 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.595e-05/0.1712, allocations: 15.98 kB / 0.7887 GB, free: 7.656 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,nor1.y,booPul2.y,$PRE.booPul2.y,booPul1.y,$PRE.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): 7 * Array equations: 0 * Algorithm blocks: 2 * 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 7.507e-05/0.1713, allocations: 121.8 kB / 0.7889 GB, free: 7.527 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.271e-05/0.1713, allocations: 7.906 kB / 0.7889 GB, free: 7.52 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.936e-05/0.1713, allocations: 8.375 kB / 0.7889 GB, free: 7.512 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.315e-06/0.1713, allocations: 8 kB / 0.7889 GB, free: 7.504 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.474e-06/0.1714, allocations: 0 / 0.7889 GB, free: 7.504 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.1714, allocations: 3.984 kB / 0.7889 GB, free: 7.5 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.95e-05/0.1715, allocations: 177.6 kB / 0.7891 GB, free: 7.277 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.1715, allocations: 4.062 kB / 0.7891 GB, free: 7.273 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.324e-06/0.1715, allocations: 0 / 0.7891 GB, free: 7.273 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.362e-06/0.1715, allocations: 0 / 0.7891 GB, free: 7.273 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.165e-06/0.1715, allocations: 3.984 kB / 0.7891 GB, free: 7.27 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.1715, allocations: 7.938 kB / 0.7891 GB, free: 7.262 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.41e-07/0.1715, allocations: 0 / 0.7891 GB, free: 7.262 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001135/0.1716, allocations: 106.1 kB / 0.7892 GB, free: 7.141 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 2.739e-05/0.1717, allocations: 89 kB / 0.7893 GB, free: 7.035 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.371e-05/0.1717, allocations: 3.938 kB / 0.7893 GB, free: 7.031 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.755e-05/0.1717, allocations: 3.938 kB / 0.7893 GB, free: 7.027 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.092e-05/0.1717, allocations: 11.98 kB / 0.7893 GB, free: 7.016 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.48e-06/0.1718, allocations: 4 kB / 0.7893 GB, free: 7.012 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.55e-05/0.1718, allocations: 87.28 kB / 0.7894 GB, free: 6.926 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1718, allocations: 0 / 0.7894 GB, free: 6.926 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002107/0.172, allocations: 35.98 kB / 0.7894 GB, free: 6.891 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: 7 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,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.0003323/0.1724, allocations: 0.6591 MB / 0.79 GB, free: 6.203 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002717/0.1726, allocations: 242.7 kB / 0.7903 GB, free: 5.941 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.192e-06/0.1726, allocations: 256 / 0.7903 GB, free: 5.941 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 3.976e-05/0.1727, allocations: 31.92 kB / 0.7903 GB, free: 5.91 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001884/0.1729, allocations: 15.98 kB / 0.7903 GB, free: 5.895 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001476/0.1744, allocations: 1.703 MB / 0.792 GB, free: 4.066 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000171/0.1745, allocations: 0.6846 MB / 0.7927 GB, free: 3.355 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.369e-05/0.1746, allocations: 11.92 kB / 0.7927 GB, free: 3.344 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.807e-05/0.1746, allocations: 24 kB / 0.7927 GB, free: 3.324 MB / 0.6075 GB Notification: Performance of SimCode: time 2.21e-07/0.1746, allocations: 0 / 0.7927 GB, free: 3.324 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.634/2.809, allocations: 2.857 MB / 0.7955 GB, free: 0.5508 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.54/14.35, allocations: 12.17 kB / 0.7955 GB, free: 0.543 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_Nor_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_Nor.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe 2>&1)