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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00137/0.00137, allocations: 112.6 kB / 19.73 MB, free: 2.094 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001547/0.001547, allocations: 211.7 kB / 23.04 MB, free: 4.438 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.443/1.443, allocations: 230.6 MB / 256.8 MB, free: 7.992 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.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.7.0/package.mo): time 0.9459/0.9459, allocations: 145 MB / 458.2 MB, free: 15.5 MB / 366.1 MB " [Timeout remaining time 179] Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Sensors.Examples.TemperatureDryBulb,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Sensors_Examples_TemperatureDryBulb",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Sensors.Examples.TemperatureDryBulb,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Sensors_Examples_TemperatureDryBulb",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: BuildSysPro requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001996/0.001996, allocations: 66.39 kB / 0.6339 GB, free: 7.281 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1939/0.1959, allocations: 87.89 MB / 0.7198 GB, free: 15.41 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.697/0.8929, allocations: 185.7 MB / 0.9011 GB, free: 3.648 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.007852/0.9008, allocations: 4.51 MB / 0.9055 GB, free: 15.13 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007417/0.9015, allocations: 31.75 kB / 0.9056 GB, free: 15.1 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.000789/0.9023, allocations: 242.1 kB / 0.9058 GB, free: 14.86 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.002157/0.9044, allocations: 0.8009 MB / 0.9066 GB, free: 14.05 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.003955/0.9084, allocations: 1.599 MB / 0.9081 GB, free: 12.45 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.001873/0.9103, allocations: 1.278 MB / 0.9094 GB, free: 11.17 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006108/0.9109, allocations: 362.3 kB / 0.9097 GB, free: 10.81 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001135/0.912, allocations: 0.5955 MB / 0.9103 GB, free: 10.21 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006085/0.9126, allocations: 430.2 kB / 0.9107 GB, free: 9.793 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 7.768e-05/0.9127, allocations: 48 kB / 0.9108 GB, free: 9.746 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003232/0.9159, allocations: 1.679 MB / 0.9124 GB, free: 8.062 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.000247/0.9162, allocations: 195.4 kB / 0.9126 GB, free: 7.871 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0003726/0.9166, allocations: 306.5 kB / 0.9129 GB, free: 7.57 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.002479/0.919, allocations: 1.348 MB / 0.9142 GB, free: 6.223 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 4.748e-06/0.919, allocations: 0 / 0.9142 GB, free: 6.223 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.252e-06/0.919, allocations: 0 / 0.9142 GB, free: 6.223 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 1.049e-05/0.9191, allocations: 0 / 0.9142 GB, free: 6.223 MB / 0.6856 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.001857/0.9209, allocations: 0.9644 MB / 0.9151 GB, free: 5.211 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.729e-05/0.921, allocations: 12.03 kB / 0.9152 GB, free: 5.199 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.268e-05/0.921, allocations: 13 kB / 0.9152 GB, free: 5.188 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001085/0.9211, allocations: 86.45 kB / 0.9153 GB, free: 5.094 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002058/0.9231, allocations: 279.8 kB / 0.9155 GB, free: 4.82 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008274/0.924, allocations: 406.6 kB / 0.9159 GB, free: 4.395 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.528e-05/0.924, allocations: 36.94 kB / 0.9159 GB, free: 4.359 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.035e-05/0.9241, allocations: 44 kB / 0.916 GB, free: 4.316 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001104/0.9252, allocations: 0.5429 MB / 0.9165 GB, free: 3.742 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.826e-05/0.9252, allocations: 4.75 kB / 0.9165 GB, free: 3.738 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.696e-05/0.9253, allocations: 23.92 kB / 0.9165 GB, free: 3.715 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.389e-05/0.9253, allocations: 12 kB / 0.9166 GB, free: 3.703 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001088/0.9264, allocations: 459.6 kB / 0.917 GB, free: 3.254 MB / 0.6856 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.003146/0.9295, allocations: 2.085 MB / 0.919 GB, free: 1.047 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001192/0.9307, allocations: 394.2 kB / 0.9194 GB, free: 0.6523 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005208/0.9312, allocations: 213.3 kB / 0.9196 GB, free: 452 kB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005848/0.9318, allocations: 91.89 kB / 0.9197 GB, free: 360 kB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007046/0.9325, allocations: 291.1 kB / 0.92 GB, free: 56 kB / 0.6856 GB Notification: Performance of pre-optimization done (n=37): time 3.246e-06/0.9325, allocations: 0 / 0.92 GB, free: 56 kB / 0.6856 GB Notification: Performance of matching and sorting (n=37): time 0.002114/0.9346, allocations: 0.6898 MB / 0.9206 GB, free: 15.36 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.601e-05/0.9347, allocations: 55.41 kB / 0.9207 GB, free: 15.29 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007357/0.9354, allocations: 498.1 kB / 0.9212 GB, free: 14.79 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 6.188e-05/0.9355, allocations: 33.7 kB / 0.9212 GB, free: 14.75 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002576/0.9358, allocations: 264.4 kB / 0.9215 GB, free: 14.49 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001398/0.9359, allocations: 130.9 kB / 0.9216 GB, free: 14.36 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001701/0.9361, allocations: 90.12 kB / 0.9217 GB, free: 14.27 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.000202/0.9363, allocations: 358.8 kB / 0.922 GB, free: 13.91 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005226/0.9368, allocations: 204.7 kB / 0.9222 GB, free: 13.71 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006084/0.9374, allocations: 319 kB / 0.9225 GB, free: 13.37 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001131/0.9385, allocations: 0.545 MB / 0.923 GB, free: 12.77 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.971e-06/0.9385, allocations: 3.938 kB / 0.923 GB, free: 12.77 MB / 0.7012 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001456/0.94, allocations: 0.6484 MB / 0.9237 GB, free: 12.1 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 6.167e-05/0.9401, allocations: 67.34 kB / 0.9237 GB, free: 12.02 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.117e-05/0.9401, allocations: 4 kB / 0.9237 GB, free: 12.02 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.134e-05/0.9401, allocations: 4 kB / 0.9238 GB, free: 12.01 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004651/0.9406, allocations: 95.81 kB / 0.9238 GB, free: 11.92 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.117e-05/0.9406, allocations: 4 kB / 0.9238 GB, free: 11.91 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005556/0.9411, allocations: 87.77 kB / 0.9239 GB, free: 11.83 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.051e-05/0.9412, allocations: 23.98 kB / 0.924 GB, free: 11.8 MB / 0.7012 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.0002878/0.9415, allocations: 194.2 kB / 0.9241 GB, free: 11.61 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.647e-05/0.9416, allocations: 59.62 kB / 0.9242 GB, free: 11.55 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001273/0.9428, allocations: 0.534 MB / 0.9247 GB, free: 11 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.895e-06/0.9428, allocations: 4 kB / 0.9247 GB, free: 11 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.9428, allocations: 0 / 0.9247 GB, free: 11 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.696e-06/0.9429, allocations: 7.484 kB / 0.9247 GB, free: 11 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002405/0.9453, allocations: 1.331 MB / 0.926 GB, free: 9.574 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.961e-06/0.9453, allocations: 4 kB / 0.926 GB, free: 9.57 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003917/0.9457, allocations: 72.33 kB / 0.9261 GB, free: 9.5 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.873e-06/0.9457, allocations: 15.94 kB / 0.9261 GB, free: 9.484 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.639e-05/0.9457, allocations: 11.98 kB / 0.9261 GB, free: 9.473 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.893e-06/0.9457, allocations: 8 kB / 0.9261 GB, free: 9.465 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.929e-06/0.9457, allocations: 4 kB / 0.9261 GB, free: 9.461 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00178/0.9475, allocations: 0.9408 MB / 0.9271 GB, free: 8.457 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002235/0.9477, allocations: 99.58 kB / 0.9272 GB, free: 8.359 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.206e-05/0.9478, allocations: 15.94 kB / 0.9272 GB, free: 8.344 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004201/0.9482, allocations: 39.95 kB / 0.9272 GB, free: 8.305 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001301/0.9484, allocations: 51.8 kB / 0.9273 GB, free: 8.254 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.218e-05/0.9484, allocations: 12 kB / 0.9273 GB, free: 8.242 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0004718/0.9489, allocations: 346.8 kB / 0.9276 GB, free: 7.906 MB / 0.7012 GB Notification: Performance of sort global known variables: time 7e-08/0.9489, allocations: 0 / 0.9276 GB, free: 7.906 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.0006206/0.9495, allocations: 159.8 kB / 0.9277 GB, free: 7.75 MB / 0.7012 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.002373/0.9518, allocations: 1.547 MB / 0.9293 GB, free: 6.137 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.001324/0.9532, allocations: 0.5729 MB / 0.9298 GB, free: 5.539 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 4.348e-06/0.9532, allocations: 0 / 0.9298 GB, free: 5.539 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0006772/0.9539, allocations: 272.6 kB / 0.9301 GB, free: 5.273 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001488/0.9553, allocations: 299.2 kB / 0.9304 GB, free: 4.992 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008784/0.9641, allocations: 5.012 MB / 0.9353 GB, free: 15.74 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005774/0.9647, allocations: 0.8665 MB / 0.9361 GB, free: 14.84 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0005135/0.9652, allocations: 128.7 kB / 0.9362 GB, free: 14.71 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000319/0.9655, allocations: 175.4 kB / 0.9364 GB, free: 14.54 MB / 0.7169 GB Notification: Performance of SimCode: time 9.71e-07/0.9655, allocations: 4 kB / 0.9364 GB, free: 14.54 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04526/1.011, allocations: 16.38 MB / 0.9524 GB, free: 14.48 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.83/12.84, allocations: 7.156 kB / 0.9524 GB, free: 14.47 MB / 0.7325 GB " [Timeout remaining time 647] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Sensors_Examples_TemperatureDryBulb_fmu --startTime=0 --stopTime=60 --stepSize=0.024 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Sensors_Examples_TemperatureDryBulb.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.TemperatureDryBulb.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.714203919051215] Failed to read output from testmodel.py, exit status != 0: 13.013250759919174 13.039485892 12.115520251 Calling exit ...