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.0007947/0.0007947, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0008287/0.0008287, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.8824/0.8824, allocations: 177.2 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] 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.5528/0.5528, allocations: 110.2 MB / 369.4 MB, free: 12.64 MB / 346.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:44:3-56:20:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:58:3-65:19:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:67:3-72:20:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:74:3-79:20:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [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: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 0.5473 GB, free: 9.859 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.74e-05/1.901e-05, allocations: 2.281 kB / 0.5473 GB, free: 9.855 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Sensors.Examples.TraceSubstances): time 0.4192/0.4192, allocations: 172.6 MB / 0.7158 GB, free: 40.06 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.01036/0.4296, allocations: 13.15 MB / 0.7287 GB, free: 39.83 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001324/0.4309, allocations: 50.38 kB / 0.7287 GB, free: 39.83 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.001168/0.4321, allocations: 0.4998 MB / 0.7292 GB, free: 39.82 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.003374/0.4354, allocations: 1.986 MB / 0.7311 GB, free: 39.56 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.001743/0.4372, allocations: 0.9424 MB / 0.7321 GB, free: 39.51 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.002967/0.4401, allocations: 2.624 MB / 0.7346 GB, free: 39.06 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001016/0.4412, allocations: 0.7984 MB / 0.7354 GB, free: 38.96 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003771/0.4449, allocations: 1.97 MB / 0.7373 GB, free: 38.77 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001576/0.4465, allocations: 0.8937 MB / 0.7382 GB, free: 38.68 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0001671/0.4467, allocations: 105.8 kB / 0.7383 GB, free: 38.68 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001924/0.4486, allocations: 0.9441 MB / 0.7392 GB, free: 38.59 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0005877/0.4492, allocations: 0.5387 MB / 0.7398 GB, free: 38.52 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0005933/0.4498, allocations: 458.5 kB / 0.7402 GB, free: 38.47 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.003167/0.4529, allocations: 2.023 MB / 0.7422 GB, free: 38.29 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 7.895e-06/0.453, allocations: 0 / 0.7422 GB, free: 38.29 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.893e-06/0.453, allocations: 1.5 kB / 0.7422 GB, free: 38.29 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 2.243e-05/0.453, allocations: 1 kB / 0.7422 GB, free: 38.29 MB / 0.6355 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.002008/0.455, allocations: 1.398 MB / 0.7435 GB, free: 37.57 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.2e-05/0.455, allocations: 10.66 kB / 0.7435 GB, free: 37.57 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001545/0.4552, allocations: 144.3 kB / 0.7437 GB, free: 37.53 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008812/0.4561, allocations: 262.2 kB / 0.7439 GB, free: 37.46 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001019/0.4571, allocations: 0.7234 MB / 0.7446 GB, free: 37.21 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.61e-05/0.4571, allocations: 70.66 kB / 0.7447 GB, free: 37.21 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001124/0.4573, allocations: 93 kB / 0.7448 GB, free: 37.21 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001395/0.4586, allocations: 1.3 MB / 0.7461 GB, free: 36.83 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.22e-05/0.4587, allocations: 2.719 kB / 0.7461 GB, free: 36.83 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.165e-05/0.4587, allocations: 38.03 kB / 0.7461 GB, free: 36.83 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.929e-05/0.4588, allocations: 37.98 kB / 0.7461 GB, free: 36.82 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001068/0.4598, allocations: 0.8973 MB / 0.747 GB, free: 36.82 MB / 0.6355 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.003635/0.4635, allocations: 4.13 MB / 0.751 GB, free: 34.18 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006808/0.4642, allocations: 0.5095 MB / 0.7515 GB, free: 33.99 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003108/0.4645, allocations: 305.2 kB / 0.7518 GB, free: 33.88 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002988/0.4648, allocations: 79.83 kB / 0.7519 GB, free: 33.87 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.066e-05/0.4648, allocations: 43.44 kB / 0.752 GB, free: 33.83 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=49): time 2.835e-06/0.4648, allocations: 0 / 0.752 GB, free: 33.83 MB / 0.6355 GB Notification: Performance of matching and sorting (n=49): time 0.001111/0.4659, allocations: 0.8101 MB / 0.7527 GB, free: 33.51 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.586e-05/0.4659, allocations: 58.5 kB / 0.7528 GB, free: 33.45 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007216/0.4666, allocations: 0.7624 MB / 0.7535 GB, free: 33.13 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.75e-05/0.4667, allocations: 36.39 kB / 0.7536 GB, free: 33.1 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002313/0.4669, allocations: 0.5207 MB / 0.7541 GB, free: 32.68 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001103/0.467, allocations: 183.9 kB / 0.7543 GB, free: 32.54 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001443/0.4672, allocations: 141.6 kB / 0.7544 GB, free: 32.47 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 4.553e-05/0.4672, allocations: 334.6 kB / 0.7547 GB, free: 32.15 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002759/0.4675, allocations: 247.3 kB / 0.755 GB, free: 32.07 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004164/0.4679, allocations: 0.8299 MB / 0.7558 GB, free: 31.27 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006719/0.4686, allocations: 0.7996 MB / 0.7565 GB, free: 30.77 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.849e-06/0.4686, allocations: 4.188 kB / 0.7565 GB, free: 30.77 MB / 0.6355 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0009214/0.4695, allocations: 0.8535 MB / 0.7574 GB, free: 30.46 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.095e-05/0.4695, allocations: 11.56 kB / 0.7574 GB, free: 30.46 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.252e-05/0.4695, allocations: 9.344 kB / 0.7574 GB, free: 30.46 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.575e-05/0.4696, allocations: 12.84 kB / 0.7574 GB, free: 30.46 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003505/0.4699, allocations: 153.5 kB / 0.7576 GB, free: 30.45 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.603e-05/0.4699, allocations: 17.92 kB / 0.7576 GB, free: 30.45 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004763/0.4704, allocations: 89.66 kB / 0.7577 GB, free: 30.4 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.677e-05/0.4705, allocations: 34.31 kB / 0.7577 GB, free: 30.39 MB / 0.6355 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.0003381/0.4708, allocations: 331.2 kB / 0.758 GB, free: 30.2 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.322e-05/0.4709, allocations: 91.12 kB / 0.7581 GB, free: 30.15 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006506/0.4715, allocations: 0.6223 MB / 0.7587 GB, free: 29.88 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.37e-06/0.4715, allocations: 5.375 kB / 0.7587 GB, free: 29.88 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.54e-06/0.4715, allocations: 4.406 kB / 0.7587 GB, free: 29.88 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004699/0.472, allocations: 0.5192 MB / 0.7592 GB, free: 29.65 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001716/0.4737, allocations: 1.542 MB / 0.7607 GB, free: 28.89 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/0.4737, allocations: 2.062 kB / 0.7607 GB, free: 28.89 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003008/0.474, allocations: 111.2 kB / 0.7608 GB, free: 28.89 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.222e-06/0.474, allocations: 3.875 kB / 0.7608 GB, free: 28.89 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.553e-05/0.4741, allocations: 18.5 kB / 0.7609 GB, free: 28.88 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.491e-06/0.4741, allocations: 3.75 kB / 0.7609 GB, free: 28.88 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.487e-06/0.4741, allocations: 2.188 kB / 0.7609 GB, free: 28.88 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008834/0.4749, allocations: 1.024 MB / 0.7619 GB, free: 28.36 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002138/0.4752, allocations: 155.6 kB / 0.762 GB, free: 28.28 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.006e-05/0.4752, allocations: 10.28 kB / 0.762 GB, free: 28.27 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002454/0.4755, allocations: 19 kB / 0.762 GB, free: 28.27 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.396e-05/0.4755, allocations: 38.45 kB / 0.7621 GB, free: 28.26 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.296e-05/0.4755, allocations: 21.69 kB / 0.7621 GB, free: 28.25 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0003965/0.4759, allocations: 0.5117 MB / 0.7626 GB, free: 28.04 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.91e-07/0.4759, allocations: 0 / 0.7626 GB, free: 28.04 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0007296/0.4767, allocations: 301.4 kB / 0.7629 GB, free: 27.98 MB / 0.6355 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.001273/0.4779, allocations: 1.667 MB / 0.7645 GB, free: 26.91 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0006125/0.4785, allocations: 0.5894 MB / 0.7651 GB, free: 26.75 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.4786, allocations: 2.844 kB / 0.7651 GB, free: 26.75 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0002347/0.4788, allocations: 255.8 kB / 0.7653 GB, free: 26.68 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001087/0.4799, allocations: 446.2 kB / 0.7658 GB, free: 26.57 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005754/0.4856, allocations: 7.151 MB / 0.7727 GB, free: 22.66 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003139/0.4859, allocations: 0.5224 MB / 0.7733 GB, free: 22.5 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0005478/0.4865, allocations: 267 kB / 0.7735 GB, free: 22.46 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002696/0.4868, allocations: 359.8 kB / 0.7739 GB, free: 22.19 MB / 0.6355 GB Notification: Performance of SimCode: time 8.71e-07/0.4868, allocations: 0 / 0.7739 GB, free: 22.19 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04385/0.5306, allocations: 25.5 MB / 0.7988 GB, free: 15.81 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.143/7.673, allocations: 17.31 kB / 0.7988 GB, free: 15.8 MB / 0.6355 GB " [Timeout remaining time 652] (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 sys.exit(0), Time elapsed: 10.09052666183561] Failed to read output from testmodel.py, exit status != 0: 7.764322300441563 7.773171513 7.3184363040000004 Calling exit ...