Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.TemperatureDryBulb.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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: translateModel(BuildSysPro.IBPSA.Fluid.Sensors.Examples.TemperatureDryBulb,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.TemperatureDryBulb") translateModel(BuildSysPro.IBPSA.Fluid.Sensors.Examples.TemperatureDryBulb,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.TemperatureDryBulb") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004887/0.004887, allocations: 101.4 kB / 15.73 MB, free: 6.055 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001119/0.001119, allocations: 200.2 kB / 16.68 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.334/1.334, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 0.8891/0.8891, allocations: 143 MB / 433.6 MB, free: 11.95 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001229/0.001229, allocations: 64.75 kB / 0.5955 GB, free: 12.26 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1665/0.1678, allocations: 82.03 MB / 0.6756 GB, free: 10.32 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.6069/0.7748, allocations: 181.9 MB / 0.8532 GB, free: 6.777 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.006133/0.7809, allocations: 4.456 MB / 0.8576 GB, free: 3.152 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005124/0.7815, allocations: 24.19 kB / 0.8576 GB, free: 3.141 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.0006365/0.7821, allocations: 243.8 kB / 0.8579 GB, free: 2.926 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.001731/0.7839, allocations: 0.7621 MB / 0.8586 GB, free: 2.328 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.003335/0.7873, allocations: 1.522 MB / 0.8601 GB, free: 0.9297 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.001517/0.7888, allocations: 1.259 MB / 0.8613 GB, free: 15.66 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000612/0.7894, allocations: 449.3 kB / 0.8617 GB, free: 15.21 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009533/0.7904, allocations: 0.5798 MB / 0.8623 GB, free: 14.63 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005524/0.7909, allocations: 402.4 kB / 0.8627 GB, free: 14.24 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 7.33e-05/0.791, allocations: 48 kB / 0.8627 GB, free: 14.19 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002843/0.7939, allocations: 1.547 MB / 0.8642 GB, free: 12.64 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0002139/0.7941, allocations: 187.4 kB / 0.8644 GB, free: 12.46 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0003312/0.7944, allocations: 306.5 kB / 0.8647 GB, free: 12.16 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.002007/0.7965, allocations: 1.332 MB / 0.866 GB, free: 10.82 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.7965, allocations: 0 / 0.866 GB, free: 10.82 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.545e-06/0.7965, allocations: 0 / 0.866 GB, free: 10.82 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.245e-05/0.7965, allocations: 0 / 0.866 GB, free: 10.82 MB / 0.6387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 100 * Number of variables: 100 Notification: Performance of Generate backend data structure: time 0.001923/0.7984, allocations: 1.025 MB / 0.867 GB, free: 9.734 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.546e-05/0.7985, allocations: 8.031 kB / 0.867 GB, free: 9.727 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001958/0.8004, allocations: 286.9 kB / 0.8673 GB, free: 9.445 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007705/0.8012, allocations: 465.4 kB / 0.8677 GB, free: 8.949 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.526e-05/0.8012, allocations: 33 kB / 0.8678 GB, free: 8.918 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001866/0.8014, allocations: 44 kB / 0.8678 GB, free: 8.875 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001175/0.8026, allocations: 0.5468 MB / 0.8684 GB, free: 8.289 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.58e-05/0.8026, allocations: 4 kB / 0.8684 GB, free: 8.285 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.693e-05/0.8027, allocations: 16 kB / 0.8684 GB, free: 8.27 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.43e-05/0.8027, allocations: 15.92 kB / 0.8684 GB, free: 8.254 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001077/0.8038, allocations: 455.5 kB / 0.8688 GB, free: 7.812 MB / 0.6387 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002895/0.8067, allocations: 2.123 MB / 0.8709 GB, free: 5.559 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009135/0.8076, allocations: 418.3 kB / 0.8713 GB, free: 5.141 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004775/0.8081, allocations: 228.6 kB / 0.8715 GB, free: 4.914 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006755/0.8088, allocations: 404.3 kB / 0.8719 GB, free: 4.445 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005964/0.8094, allocations: 290.9 kB / 0.8722 GB, free: 4.148 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=37): time 1.743e-06/0.8094, allocations: 0 / 0.8722 GB, free: 4.148 MB / 0.6387 GB Notification: Performance of matching and sorting (n=37): time 0.001738/0.8112, allocations: 0.6854 MB / 0.8728 GB, free: 3.457 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.223e-05/0.8112, allocations: 59.41 kB / 0.8729 GB, free: 3.387 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006068/0.8118, allocations: 498 kB / 0.8734 GB, free: 2.887 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0001034/0.8119, allocations: 33.7 kB / 0.8734 GB, free: 2.848 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002012/0.8122, allocations: 264.1 kB / 0.8737 GB, free: 2.586 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 9.666e-05/0.8123, allocations: 118.3 kB / 0.8738 GB, free: 2.469 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001492/0.8124, allocations: 98.03 kB / 0.8739 GB, free: 2.367 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.000201/0.8126, allocations: 362.8 kB / 0.8742 GB, free: 2.004 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005519/0.8132, allocations: 196.8 kB / 0.8744 GB, free: 1.812 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005453/0.8137, allocations: 323.5 kB / 0.8747 GB, free: 1.461 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00102/0.8148, allocations: 0.537 MB / 0.8752 GB, free: 0.8711 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.8148, allocations: 0 / 0.8752 GB, free: 0.8711 MB / 0.6387 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001282/0.8161, allocations: 0.6481 MB / 0.8759 GB, free: 208 kB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 4.652e-05/0.8161, allocations: 65.44 kB / 0.8759 GB, free: 132 kB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.746e-06/0.8161, allocations: 4 kB / 0.8759 GB, free: 128 kB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.643e-05/0.8162, allocations: 4.375 kB / 0.8759 GB, free: 124 kB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004328/0.8166, allocations: 99.88 kB / 0.876 GB, free: 24 kB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.068e-05/0.8166, allocations: 7.938 kB / 0.876 GB, free: 16 kB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005083/0.8171, allocations: 71.39 kB / 0.8761 GB, free: 15.95 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.159e-05/0.8172, allocations: 31.98 kB / 0.8761 GB, free: 15.91 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 10 (m_flow2.count,$PRE.m_flow2.count,m_flow2.T_start,$PRE.m_flow2.T_start,m_flow1.count,$PRE.m_flow1.count,m_flow1.T_start,$PRE.m_flow1.T_start,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (53): * Single equations (assignments): 51 * 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 0.0002137/0.8174, allocations: 195.9 kB / 0.8763 GB, free: 15.71 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.293e-05/0.8175, allocations: 59.28 kB / 0.8764 GB, free: 15.66 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001289/0.8188, allocations: 0.5294 MB / 0.8769 GB, free: 15.12 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.45e-06/0.8188, allocations: 4 kB / 0.8769 GB, free: 15.12 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.8188, allocations: 0 / 0.8769 GB, free: 15.12 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.8188, allocations: 4 kB / 0.8769 GB, free: 15.11 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002173/0.821, allocations: 1.352 MB / 0.8782 GB, free: 13.66 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.23e-06/0.821, allocations: 4 kB / 0.8782 GB, free: 13.66 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003907/0.8214, allocations: 75.83 kB / 0.8783 GB, free: 13.59 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.721e-06/0.8214, allocations: 4 kB / 0.8783 GB, free: 13.58 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.463e-05/0.8215, allocations: 15.98 kB / 0.8783 GB, free: 13.57 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.63e-06/0.8215, allocations: 11.88 kB / 0.8783 GB, free: 13.55 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/0.8215, allocations: 4 kB / 0.8783 GB, free: 13.55 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001779/0.8233, allocations: 0.9289 MB / 0.8792 GB, free: 12.56 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001914/0.8235, allocations: 180.1 kB / 0.8794 GB, free: 12.36 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.614e-05/0.8236, allocations: 12 kB / 0.8794 GB, free: 12.35 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000422/0.824, allocations: 39.95 kB / 0.8795 GB, free: 12.31 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001361/0.8241, allocations: 51.89 kB / 0.8795 GB, free: 12.26 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.095e-05/0.8242, allocations: 20.86 kB / 0.8795 GB, free: 12.24 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0005003/0.8247, allocations: 338.8 kB / 0.8799 GB, free: 11.91 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.6e-07/0.8247, allocations: 0 / 0.8799 GB, free: 11.91 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0005216/0.8252, allocations: 155.8 kB / 0.88 GB, free: 11.76 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 2 (temDyn.T,temDynLoss.T) * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,m_flow1.T_start,m_flow1.count,m_flow2.T_start,m_flow2.count) * Number of discrete states: 2 (m_flow2.count,m_flow1.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0003967/0.8256, allocations: 206.7 kB / 0.8802 GB, free: 11.56 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001309/0.8269, allocations: 0.5861 MB / 0.8808 GB, free: 10.95 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.8269, allocations: 0 / 0.8808 GB, free: 10.95 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0007066/0.8277, allocations: 288.6 kB / 0.8811 GB, free: 10.67 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001374/0.829, allocations: 284.4 kB / 0.8813 GB, free: 10.41 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00185/0.8309, allocations: 1.034 MB / 0.8823 GB, free: 9.305 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007145/0.8316, allocations: 0.8743 MB / 0.8832 GB, free: 8.402 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0004307/0.8321, allocations: 128.7 kB / 0.8833 GB, free: 8.277 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001353/0.8322, allocations: 43.44 kB / 0.8833 GB, free: 8.234 MB / 0.6544 GB Notification: Performance of SimCode: time 3.31e-07/0.8322, allocations: 0 / 0.8833 GB, free: 8.234 MB / 0.6544 GB Notification: Performance of Templates: time 0.01865/0.8509, allocations: 10.89 MB / 0.894 GB, free: 13.51 MB / 0.67 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.TemperatureDryBulb.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.TemperatureDryBulb.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.TemperatureDryBulb.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.TemperatureDryBulb -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.TemperatureDryBulb.pipe 2>&1)