Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.TraceSubstances.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.001318/0.001318, allocations: 117.4 kB / 17.17 MB, free: 5.977 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.001415/0.001415, allocations: 214.3 kB / 20.13 MB, free: 3.035 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.462/1.462, allocations: 230.6 MB / 253.5 MB, free: 15.07 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.9546/0.9546, allocations: 145 MB / 454.5 MB, free: 10.02 MB / 350.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.TraceSubstances,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Sensors_Examples_TraceSubstances",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Sensors.Examples.TraceSubstances,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Sensors_Examples_TraceSubstances",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.001963/0.001963, allocations: 70.11 kB / 0.6287 GB, free: 33.64 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2105/0.2124, allocations: 87.84 MB / 0.7145 GB, free: 11.7 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Sensors.Examples.TraceSubstances): time 0.6858/0.8982, allocations: 198.8 MB / 0.9087 GB, free: 3.055 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.01535/0.9136, allocations: 14.44 MB / 0.9228 GB, free: 2.809 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00177/0.9153, allocations: 49.19 kB / 0.9228 GB, free: 2.809 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.001544/0.9169, allocations: 0.5142 MB / 0.9233 GB, free: 2.801 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.005728/0.9226, allocations: 1.963 MB / 0.9252 GB, free: 2.719 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.002681/0.9253, allocations: 0.8734 MB / 0.9261 GB, free: 2.695 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.003504/0.9288, allocations: 2.566 MB / 0.9286 GB, free: 2.684 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001351/0.9301, allocations: 0.9285 MB / 0.9295 GB, free: 2.605 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004489/0.9346, allocations: 1.684 MB / 0.9312 GB, free: 2.484 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00196/0.9366, allocations: 0.9791 MB / 0.9321 GB, free: 2.367 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0002059/0.9368, allocations: 106.4 kB / 0.9322 GB, free: 2.367 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002299/0.9391, allocations: 1.17 MB / 0.9334 GB, free: 2.355 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0005006/0.9396, allocations: 0.5045 MB / 0.9338 GB, free: 2.297 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0007758/0.9404, allocations: 0.6331 MB / 0.9345 GB, free: 2.129 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.002894/0.9433, allocations: 1.994 MB / 0.9364 GB, free: 1.875 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.9433, allocations: 2.906 kB / 0.9364 GB, free: 1.875 MB / 0.67 GB Notification: Performance of FrontEnd: time 2.444e-06/0.9433, allocations: 3.188 kB / 0.9364 GB, free: 1.875 MB / 0.67 GB Notification: Performance of Transformations before backend: time 2.636e-05/0.9433, allocations: 0 / 0.9364 GB, free: 1.875 MB / 0.67 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 226 * Number of variables: 226 Notification: Performance of Generate backend data structure: time 0.002426/0.9457, allocations: 1.485 MB / 0.9379 GB, free: 1.062 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.184e-05/0.9458, allocations: 6.875 kB / 0.9379 GB, free: 1.062 MB / 0.67 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.425e-05/0.9458, allocations: 25.28 kB / 0.9379 GB, free: 1.059 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001427/0.9459, allocations: 146.6 kB / 0.938 GB, free: 1.02 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00139/0.9473, allocations: 259.5 kB / 0.9383 GB, free: 0.9531 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001471/0.9488, allocations: 0.8046 MB / 0.9391 GB, free: 16.62 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.378e-05/0.9489, allocations: 71.56 kB / 0.9391 GB, free: 16.62 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001407/0.949, allocations: 93.44 kB / 0.9392 GB, free: 16.62 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001772/0.9508, allocations: 1.169 MB / 0.9404 GB, free: 16.39 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.871e-05/0.9508, allocations: 4.062 kB / 0.9404 GB, free: 16.39 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.288e-05/0.9509, allocations: 39.03 kB / 0.9404 GB, free: 16.39 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.382e-05/0.9509, allocations: 35.22 kB / 0.9404 GB, free: 16.39 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001319/0.9523, allocations: 0.906 MB / 0.9413 GB, free: 16.38 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.006054/0.9583, allocations: 5.759 MB / 0.947 GB, free: 12.24 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008253/0.9591, allocations: 0.512 MB / 0.9475 GB, free: 12.04 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000397/0.9595, allocations: 294.7 kB / 0.9477 GB, free: 11.93 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006121/0.9601, allocations: 311 kB / 0.948 GB, free: 11.65 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.817e-05/0.9602, allocations: 44.78 kB / 0.9481 GB, free: 11.6 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=49): time 2.444e-06/0.9602, allocations: 0.9062 kB / 0.9481 GB, free: 11.6 MB / 0.6856 GB Notification: Performance of matching and sorting (n=49): time 0.001606/0.9618, allocations: 0.8038 MB / 0.9489 GB, free: 11.29 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.537e-05/0.9619, allocations: 59.06 kB / 0.9489 GB, free: 11.23 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009604/0.9628, allocations: 0.7474 MB / 0.9496 GB, free: 10.93 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 6.619e-05/0.9629, allocations: 36.45 kB / 0.9497 GB, free: 10.89 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004198/0.9633, allocations: 0.5207 MB / 0.9502 GB, free: 10.47 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001917/0.9635, allocations: 188.6 kB / 0.9504 GB, free: 10.33 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002127/0.9637, allocations: 143.3 kB / 0.9505 GB, free: 10.26 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001594/0.9639, allocations: 337.9 kB / 0.9508 GB, free: 9.934 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003893/0.9643, allocations: 248.8 kB / 0.9511 GB, free: 9.812 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006429/0.9649, allocations: 0.5565 MB / 0.9516 GB, free: 9.297 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001074/0.966, allocations: 0.8002 MB / 0.9524 GB, free: 8.73 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.182e-06/0.966, allocations: 10.34 kB / 0.9524 GB, free: 8.727 MB / 0.6856 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001206/0.9672, allocations: 0.851 MB / 0.9532 GB, free: 8.34 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.829e-05/0.9672, allocations: 5.625 kB / 0.9532 GB, free: 8.34 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.121e-05/0.9672, allocations: 8.062 kB / 0.9532 GB, free: 8.34 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.357e-05/0.9672, allocations: 17.62 kB / 0.9533 GB, free: 8.336 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00052/0.9678, allocations: 150.6 kB / 0.9534 GB, free: 8.316 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.961e-05/0.9678, allocations: 19.27 kB / 0.9534 GB, free: 8.312 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007513/0.9685, allocations: 91.45 kB / 0.9535 GB, free: 8.254 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.577e-05/0.9686, allocations: 33.25 kB / 0.9535 GB, free: 8.25 MB / 0.6856 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 36 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (86): * Single equations (assignments): 86 * 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 0.0004647/0.969, allocations: 334.8 kB / 0.9539 GB, free: 8.012 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000132/0.9692, allocations: 93.84 kB / 0.954 GB, free: 7.961 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009901/0.9702, allocations: 0.6192 MB / 0.9546 GB, free: 7.613 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.13e-06/0.9702, allocations: 3.562 kB / 0.9546 GB, free: 7.613 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/0.9702, allocations: 0 / 0.9546 GB, free: 7.613 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007009/0.9709, allocations: 0.5235 MB / 0.9551 GB, free: 7.332 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002438/0.9733, allocations: 1.668 MB / 0.9567 GB, free: 6.211 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.562e-06/0.9733, allocations: 6.422 kB / 0.9567 GB, free: 6.207 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004968/0.9738, allocations: 112.5 kB / 0.9568 GB, free: 6.188 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.726e-06/0.9738, allocations: 6.312 kB / 0.9568 GB, free: 6.184 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.97e-05/0.9739, allocations: 16.38 kB / 0.9568 GB, free: 6.176 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.864e-06/0.9739, allocations: 10.95 kB / 0.9568 GB, free: 6.168 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.955e-06/0.9739, allocations: 2.125 kB / 0.9568 GB, free: 6.168 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001331/0.9752, allocations: 1.019 MB / 0.9578 GB, free: 5.547 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003193/0.9755, allocations: 221.4 kB / 0.9581 GB, free: 5.359 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001007/0.9756, allocations: 21.7 kB / 0.9581 GB, free: 5.344 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004643/0.9761, allocations: 19.27 kB / 0.9581 GB, free: 5.332 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.717e-05/0.9762, allocations: 35.64 kB / 0.9581 GB, free: 5.316 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.31e-05/0.9762, allocations: 13.53 kB / 0.9581 GB, free: 5.316 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0006578/0.9769, allocations: 0.5212 MB / 0.9586 GB, free: 5.016 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1e-07/0.9769, allocations: 0 / 0.9586 GB, free: 5.016 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0009822/0.9778, allocations: 296.9 kB / 0.9589 GB, free: 4.957 MB / 0.6856 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 4 (vol.dynBal.medium.Xi[1],vol.dynBal.U,vol.dynBal.m,vol.dynBal.mC[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (49): * Single equations (assignments): 49 * 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 Backend phase and start with SimCode phase: time 0.002076/0.9799, allocations: 1.666 MB / 0.9606 GB, free: 3.754 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.001015/0.9809, allocations: 0.5866 MB / 0.9611 GB, free: 3.516 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.9809, allocations: 0 / 0.9611 GB, free: 3.516 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0003431/0.9813, allocations: 256 kB / 0.9614 GB, free: 3.414 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001891/0.9832, allocations: 448.9 kB / 0.9618 GB, free: 3.184 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0102/0.9934, allocations: 7.248 MB / 0.9689 GB, free: 12.96 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008415/0.9942, allocations: 1.118 MB / 0.97 GB, free: 11.82 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.000887/0.9951, allocations: 271.1 kB / 0.9702 GB, free: 11.55 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005456/0.9956, allocations: 359.3 kB / 0.9706 GB, free: 11.2 MB / 0.7012 GB Notification: Performance of SimCode: time 1.223e-06/0.9956, allocations: 0 / 0.9706 GB, free: 11.2 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05153/1.047, allocations: 23.3 MB / 0.9933 GB, free: 4.336 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.825/10.87, allocations: 15.55 kB / 0.9933 GB, free: 4.324 MB / 0.7169 GB " [Timeout remaining time 649] (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.TraceSubstances.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.TraceSubstances.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.TraceSubstances.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.TraceSubstances.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Sensors_Examples_TraceSubstances_fmu --startTime=0 --stopTime=7200 --stepSize=2.88 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Sensors_Examples_TraceSubstances.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.TraceSubstances.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.817844220029656] Failed to read output from testmodel.py, exit status != 0: 11.015798323962372 11.041804765 10.093832932 Calling exit ...