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.001239/0.001239, allocations: 105.7 kB / 16.41 MB, free: 6.492 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.001262/0.001262, allocations: 185.5 kB / 17.34 MB, free: 5.742 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.283/1.283, allocations: 222.9 MB / 241 MB, free: 15.15 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.8327/0.8327, allocations: 143.1 MB / 434.3 MB, free: 11.99 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001201/0.001201, allocations: 67.83 kB / 0.5962 GB, free: 12.39 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1435/0.1447, allocations: 82.04 MB / 0.6763 GB, free: 10.46 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.5432/0.6879, allocations: 181.9 MB / 0.8539 GB, free: 6.848 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.006099/0.6941, allocations: 4.465 MB / 0.8583 GB, free: 3.215 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006718/0.6948, allocations: 20.84 kB / 0.8583 GB, free: 3.207 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.0007035/0.6955, allocations: 243.2 kB / 0.8585 GB, free: 2.992 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.001854/0.6974, allocations: 0.7635 MB / 0.8593 GB, free: 2.395 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.00356/0.701, allocations: 1.514 MB / 0.8608 GB, free: 1.043 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.00146/0.7024, allocations: 1.259 MB / 0.862 GB, free: 15.78 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005732/0.703, allocations: 453.3 kB / 0.8624 GB, free: 15.32 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000907/0.7039, allocations: 0.5798 MB / 0.863 GB, free: 14.74 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004299/0.7044, allocations: 410.3 kB / 0.8634 GB, free: 14.34 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 7.234e-05/0.7045, allocations: 44 kB / 0.8634 GB, free: 14.3 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002649/0.7071, allocations: 1.543 MB / 0.8649 GB, free: 12.75 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0002081/0.7073, allocations: 191.4 kB / 0.8651 GB, free: 12.56 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0002979/0.7076, allocations: 302.5 kB / 0.8654 GB, free: 12.27 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.002148/0.7098, allocations: 1.328 MB / 0.8667 GB, free: 10.93 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 6.091e-06/0.7098, allocations: 4 kB / 0.8667 GB, free: 10.93 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.653e-06/0.7098, allocations: 3.938 kB / 0.8667 GB, free: 10.93 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 8.666e-06/0.7098, allocations: 0 / 0.8667 GB, free: 10.93 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.001672/0.7115, allocations: 1.021 MB / 0.8677 GB, free: 9.844 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.623e-05/0.7116, allocations: 12.03 kB / 0.8677 GB, free: 9.832 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00182/0.7134, allocations: 286.8 kB / 0.868 GB, free: 9.551 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007342/0.7141, allocations: 471.8 kB / 0.8684 GB, free: 9.051 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.401e-05/0.7142, allocations: 33 kB / 0.8685 GB, free: 9.02 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.793e-05/0.7143, allocations: 44 kB / 0.8685 GB, free: 8.977 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009333/0.7152, allocations: 0.5468 MB / 0.869 GB, free: 8.391 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.343e-05/0.7152, allocations: 0 / 0.869 GB, free: 8.391 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.204e-05/0.7153, allocations: 16 kB / 0.8691 GB, free: 8.375 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.207e-05/0.7153, allocations: 15.94 kB / 0.8691 GB, free: 8.359 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009541/0.7163, allocations: 459.5 kB / 0.8695 GB, free: 7.914 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.002283/0.7185, allocations: 2.116 MB / 0.8716 GB, free: 5.664 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009009/0.7195, allocations: 414.3 kB / 0.872 GB, free: 5.25 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004434/0.7199, allocations: 230.2 kB / 0.8722 GB, free: 5.023 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006196/0.7205, allocations: 404.3 kB / 0.8726 GB, free: 4.555 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005695/0.7211, allocations: 286.9 kB / 0.8728 GB, free: 4.262 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=37): time 2.024e-06/0.7211, allocations: 0 / 0.8728 GB, free: 4.262 MB / 0.6387 GB Notification: Performance of matching and sorting (n=37): time 0.00167/0.7228, allocations: 0.6854 MB / 0.8735 GB, free: 3.57 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.006e-05/0.7229, allocations: 63.41 kB / 0.8736 GB, free: 3.496 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005323/0.7234, allocations: 498 kB / 0.874 GB, free: 2.996 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 4.273e-05/0.7234, allocations: 41.64 kB / 0.8741 GB, free: 2.949 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001732/0.7236, allocations: 256.1 kB / 0.8743 GB, free: 2.695 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 9.826e-05/0.7237, allocations: 126.3 kB / 0.8745 GB, free: 2.57 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001425/0.7239, allocations: 90.03 kB / 0.8745 GB, free: 2.477 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001311/0.724, allocations: 362.8 kB / 0.8749 GB, free: 2.113 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000453/0.7245, allocations: 196.8 kB / 0.8751 GB, free: 1.922 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005339/0.725, allocations: 316 kB / 0.8754 GB, free: 1.574 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009417/0.726, allocations: 0.5448 MB / 0.8759 GB, free: 0.9766 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.544e-06/0.726, allocations: 0 / 0.8759 GB, free: 0.9766 MB / 0.6387 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001174/0.7272, allocations: 0.6522 MB / 0.8765 GB, free: 312 kB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 4.991e-05/0.7272, allocations: 59.41 kB / 0.8766 GB, free: 240 kB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.643e-06/0.7272, allocations: 0 / 0.8766 GB, free: 240 kB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.964e-05/0.7273, allocations: 8 kB / 0.8766 GB, free: 232 kB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004148/0.7277, allocations: 91.88 kB / 0.8767 GB, free: 140 kB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.195e-05/0.7277, allocations: 11.94 kB / 0.8767 GB, free: 128 kB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004611/0.7282, allocations: 79.64 kB / 0.8768 GB, free: 48 kB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.624e-05/0.7282, allocations: 26.3 kB / 0.8768 GB, free: 24 kB / 0.6387 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.0002225/0.7285, allocations: 189.7 kB / 0.877 GB, free: 15.83 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.122e-05/0.7285, allocations: 55.28 kB / 0.877 GB, free: 15.77 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001106/0.7297, allocations: 0.5372 MB / 0.8776 GB, free: 15.23 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.342e-06/0.7297, allocations: 4 kB / 0.8776 GB, free: 15.23 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.051e-06/0.7297, allocations: 7.938 kB / 0.8776 GB, free: 15.22 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.781e-06/0.7297, allocations: 0 / 0.8776 GB, free: 15.22 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002025/0.7317, allocations: 1.35 MB / 0.8789 GB, free: 13.77 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.668e-06/0.7317, allocations: 4.875 kB / 0.8789 GB, free: 13.77 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003696/0.7321, allocations: 75.83 kB / 0.879 GB, free: 13.69 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.222e-06/0.7321, allocations: 4.438 kB / 0.879 GB, free: 13.69 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.348e-05/0.7322, allocations: 19.98 kB / 0.879 GB, free: 13.67 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.404e-06/0.7322, allocations: 7.938 kB / 0.879 GB, free: 13.66 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.088e-06/0.7322, allocations: 4 kB / 0.879 GB, free: 13.66 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001521/0.7337, allocations: 0.9264 MB / 0.8799 GB, free: 12.67 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001966/0.7339, allocations: 176.3 kB / 0.8801 GB, free: 12.48 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.787e-05/0.734, allocations: 12 kB / 0.8801 GB, free: 12.46 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004105/0.7345, allocations: 40.02 kB / 0.8801 GB, free: 12.43 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001298/0.7346, allocations: 43.83 kB / 0.8802 GB, free: 12.38 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.247e-05/0.7346, allocations: 23.92 kB / 0.8802 GB, free: 12.36 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0003732/0.735, allocations: 346.8 kB / 0.8805 GB, free: 12.02 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.9e-07/0.735, allocations: 4 kB / 0.8805 GB, free: 12.02 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0005597/0.7356, allocations: 151.8 kB / 0.8807 GB, free: 11.87 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.0004217/0.736, allocations: 200.6 kB / 0.8809 GB, free: 11.68 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001128/0.7372, allocations: 0.5922 MB / 0.8814 GB, free: 11.07 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.696e-06/0.7372, allocations: 0 / 0.8814 GB, free: 11.07 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0005635/0.7377, allocations: 263.3 kB / 0.8817 GB, free: 10.81 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001318/0.7391, allocations: 290.9 kB / 0.882 GB, free: 10.54 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001835/0.7409, allocations: 1.078 MB / 0.883 GB, free: 9.379 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004092/0.7413, allocations: 0.8626 MB / 0.8839 GB, free: 8.488 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001857/0.7415, allocations: 43.44 kB / 0.8839 GB, free: 8.445 MB / 0.6544 GB Notification: Performance of SimCode: time 4.51e-07/0.7415, allocations: 3.938 kB / 0.8839 GB, free: 8.441 MB / 0.6544 GB Notification: Performance of Templates: time 0.0143/0.7558, allocations: 9.194 MB / 0.8929 GB, free: 15.34 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)