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.001363/0.001363, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001506/0.001506, allocations: 212.7 kB / 22.24 MB, free: 5.262 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.494/1.494, allocations: 230.6 MB / 256 MB, free: 7.785 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.9128/0.9128, allocations: 145 MB / 457.4 MB, free: 15.27 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.TraceSubstances,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Sensors_Examples_TraceSubstances",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Sensors.Examples.TraceSubstances,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Sensors_Examples_TraceSubstances",fmuType="me",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.002036/0.002036, allocations: 67 kB / 0.6331 GB, free: 6.652 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1893/0.1914, allocations: 87.89 MB / 0.7189 GB, free: 14.78 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Sensors.Examples.TraceSubstances): time 0.6285/0.8199, allocations: 172.7 MB / 0.8876 GB, free: 14.22 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.02229/0.8421, allocations: 13.2 MB / 0.9005 GB, free: 0.9805 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001513/0.8437, allocations: 51.56 kB / 0.9006 GB, free: 0.9297 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.001948/0.8456, allocations: 496.8 kB / 0.9011 GB, free: 452 kB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.005718/0.8513, allocations: 1.944 MB / 0.903 GB, free: 14.5 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.002839/0.8542, allocations: 0.8831 MB / 0.9038 GB, free: 13.62 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.003951/0.8581, allocations: 2.62 MB / 0.9064 GB, free: 10.99 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00168/0.8598, allocations: 0.7874 MB / 0.9071 GB, free: 10.18 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004968/0.8648, allocations: 1.667 MB / 0.9088 GB, free: 8.531 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002291/0.8671, allocations: 0.9605 MB / 0.9097 GB, free: 7.57 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0004954/0.8675, allocations: 104 kB / 0.9098 GB, free: 7.469 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003215/0.8708, allocations: 0.9351 MB / 0.9107 GB, free: 6.531 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.001018/0.8718, allocations: 0.5025 MB / 0.9112 GB, free: 6.027 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.001684/0.8735, allocations: 0.529 MB / 0.9117 GB, free: 5.496 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.005367/0.8788, allocations: 1.974 MB / 0.9137 GB, free: 3.516 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 6.723e-06/0.8788, allocations: 0 / 0.9137 GB, free: 3.516 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.974e-06/0.8788, allocations: 3.938 kB / 0.9137 GB, free: 3.512 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 7.9e-05/0.8789, allocations: 0 / 0.9137 GB, free: 3.512 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: 226 * Number of variables: 226 Notification: Performance of Generate backend data structure: time 0.0039/0.8828, allocations: 1.411 MB / 0.915 GB, free: 2.066 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 5.967e-05/0.8829, allocations: 12.03 kB / 0.9151 GB, free: 2.055 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003815/0.8833, allocations: 147.6 kB / 0.9152 GB, free: 1.902 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00178/0.885, allocations: 259 kB / 0.9154 GB, free: 1.648 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00188/0.8869, allocations: 0.7284 MB / 0.9162 GB, free: 0.8906 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.13e-05/0.887, allocations: 70 kB / 0.9162 GB, free: 0.8242 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001631/0.8872, allocations: 95.94 kB / 0.9163 GB, free: 0.7305 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002082/0.8892, allocations: 1.294 MB / 0.9176 GB, free: 15.33 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.175e-05/0.8893, allocations: 7.953 kB / 0.9176 GB, free: 15.32 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.767e-05/0.8894, allocations: 39.94 kB / 0.9176 GB, free: 15.29 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-05/0.8894, allocations: 38 kB / 0.9177 GB, free: 15.25 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001496/0.8909, allocations: 0.9054 MB / 0.9185 GB, free: 14.34 MB / 0.7012 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.005753/0.8967, allocations: 4.137 MB / 0.9226 GB, free: 10.08 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008818/0.8975, allocations: 0.5047 MB / 0.9231 GB, free: 9.562 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004444/0.898, allocations: 301.7 kB / 0.9234 GB, free: 9.27 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000481/0.8985, allocations: 84.34 kB / 0.9234 GB, free: 9.188 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.396e-05/0.8985, allocations: 39 kB / 0.9235 GB, free: 9.141 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=49): time 2.645e-06/0.8985, allocations: 0 / 0.9235 GB, free: 9.141 MB / 0.7012 GB Notification: Performance of matching and sorting (n=49): time 0.001605/0.9001, allocations: 0.807 MB / 0.9243 GB, free: 8.328 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.59e-05/0.9002, allocations: 55.84 kB / 0.9243 GB, free: 8.258 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009639/0.9011, allocations: 0.7625 MB / 0.9251 GB, free: 7.488 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 6.249e-05/0.9012, allocations: 37.7 kB / 0.9251 GB, free: 7.445 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004296/0.9016, allocations: 0.5155 MB / 0.9256 GB, free: 6.922 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001844/0.9018, allocations: 190.5 kB / 0.9258 GB, free: 6.734 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002091/0.902, allocations: 134.6 kB / 0.9259 GB, free: 6.598 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001633/0.9022, allocations: 341.9 kB / 0.9262 GB, free: 6.258 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003941/0.9026, allocations: 245.8 kB / 0.9265 GB, free: 6.02 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008643/0.9034, allocations: 0.8346 MB / 0.9273 GB, free: 4.98 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00111/0.9045, allocations: 0.7996 MB / 0.9281 GB, free: 4.074 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.434e-06/0.9045, allocations: 4 kB / 0.9281 GB, free: 4.07 MB / 0.7012 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001427/0.906, allocations: 0.8518 MB / 0.9289 GB, free: 3.215 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.693e-05/0.906, allocations: 14.91 kB / 0.9289 GB, free: 3.203 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.427e-05/0.906, allocations: 11.94 kB / 0.9289 GB, free: 3.191 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.717e-05/0.906, allocations: 12 kB / 0.9289 GB, free: 3.18 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005828/0.9066, allocations: 147.8 kB / 0.9291 GB, free: 3.035 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.794e-05/0.9066, allocations: 19.92 kB / 0.9291 GB, free: 3.016 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008007/0.9074, allocations: 95.34 kB / 0.9292 GB, free: 2.922 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.518e-05/0.9075, allocations: 40.16 kB / 0.9292 GB, free: 2.883 MB / 0.7012 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.0005244/0.908, allocations: 330.1 kB / 0.9295 GB, free: 2.551 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001497/0.9082, allocations: 88.56 kB / 0.9296 GB, free: 2.465 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001105/0.9093, allocations: 0.6258 MB / 0.9302 GB, free: 1.824 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.773e-06/0.9093, allocations: 4 kB / 0.9302 GB, free: 1.82 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.9093, allocations: 0 / 0.9302 GB, free: 1.82 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007984/0.9101, allocations: 0.5173 MB / 0.9308 GB, free: 1.289 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002758/0.9129, allocations: 1.549 MB / 0.9323 GB, free: 15.66 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.895e-06/0.9129, allocations: 7.938 kB / 0.9323 GB, free: 15.66 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005435/0.9134, allocations: 111.9 kB / 0.9324 GB, free: 15.55 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.049e-05/0.9134, allocations: 4 kB / 0.9324 GB, free: 15.54 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.477e-05/0.9135, allocations: 19.94 kB / 0.9324 GB, free: 15.52 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.382e-06/0.9135, allocations: 4 kB / 0.9324 GB, free: 15.52 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.154e-06/0.9135, allocations: 5.406 kB / 0.9324 GB, free: 15.52 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00151/0.915, allocations: 1.024 MB / 0.9334 GB, free: 14.46 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004335/0.9154, allocations: 163.2 kB / 0.9336 GB, free: 14.3 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001271/0.9155, allocations: 8 kB / 0.9336 GB, free: 14.29 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004711/0.916, allocations: 17.69 kB / 0.9336 GB, free: 14.28 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.755e-05/0.9161, allocations: 31.94 kB / 0.9336 GB, free: 14.25 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.7e-05/0.9161, allocations: 19.98 kB / 0.9336 GB, free: 14.23 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0007158/0.9168, allocations: 0.5107 MB / 0.9341 GB, free: 13.72 MB / 0.7169 GB Notification: Performance of sort global known variables: time 9e-08/0.9168, allocations: 0 / 0.9341 GB, free: 13.72 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0009428/0.9178, allocations: 299.5 kB / 0.9344 GB, free: 13.43 MB / 0.7169 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.002222/0.92, allocations: 1.664 MB / 0.936 GB, free: 11.72 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.001099/0.9211, allocations: 0.5809 MB / 0.9366 GB, free: 11.14 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/0.9211, allocations: 8.125 kB / 0.9366 GB, free: 11.13 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0004019/0.9215, allocations: 263.5 kB / 0.9369 GB, free: 10.87 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002029/0.9235, allocations: 444.1 kB / 0.9373 GB, free: 10.45 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0114/0.9349, allocations: 7.226 MB / 0.9444 GB, free: 2.84 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000715/0.9357, allocations: 0.5237 MB / 0.9449 GB, free: 2.285 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.001015/0.9367, allocations: 271 kB / 0.9451 GB, free: 2.016 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005897/0.9373, allocations: 367.3 kB / 0.9455 GB, free: 1.656 MB / 0.7169 GB Notification: Performance of SimCode: time 8.82e-07/0.9373, allocations: 0 / 0.9455 GB, free: 1.656 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07107/1.008, allocations: 25.45 MB / 0.9703 GB, free: 8.762 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.1/13.11, allocations: 7.922 kB / 0.9703 GB, free: 8.754 MB / 0.7481 GB " [Timeout remaining time 647] (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 & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.TraceSubstances_res.csv --start-time 0 --stop-time 7200 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 2.88 BuildSysPro_BuildSysPro_IBPSA_Fluid_Sensors_Examples_TraceSubstances.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.TraceSubstances.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.925168689806014] Failed to read output from testmodel.py, exit status != 0: 13.229939446784556 13.244845232 12.362770701 Calling exit ...