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.001349/0.001349, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001796/0.001796, allocations: 217.3 kB / 22.25 MB, free: 5.121 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.429/1.429, allocations: 230.6 MB / 256 MB, free: 7.969 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.9313/0.9313, allocations: 145 MB / 457.4 MB, free: 15.52 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.002069/0.002069, allocations: 63.31 kB / 0.6332 GB, free: 7.289 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1618/0.1638, allocations: 87.9 MB / 0.719 GB, free: 15.4 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Sensors.Examples.TraceSubstances): time 0.5545/0.7183, allocations: 199.2 MB / 0.9136 GB, free: 6.086 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.01979/0.7381, allocations: 14.54 MB / 0.9278 GB, free: 7.5 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001347/0.7395, allocations: 47.62 kB / 0.9278 GB, free: 7.453 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.001756/0.7412, allocations: 0.5124 MB / 0.9283 GB, free: 6.938 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.005533/0.7468, allocations: 1.999 MB / 0.9303 GB, free: 4.934 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.002899/0.7497, allocations: 0.9087 MB / 0.9312 GB, free: 4.031 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.004019/0.7537, allocations: 2.632 MB / 0.9337 GB, free: 1.391 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001641/0.7553, allocations: 0.8029 MB / 0.9345 GB, free: 0.5625 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004938/0.7603, allocations: 1.687 MB / 0.9362 GB, free: 14.89 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002025/0.7623, allocations: 0.9895 MB / 0.9371 GB, free: 13.91 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0003538/0.7627, allocations: 108 kB / 0.9372 GB, free: 13.8 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002648/0.7653, allocations: 1.185 MB / 0.9384 GB, free: 12.61 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0007129/0.766, allocations: 0.5064 MB / 0.9389 GB, free: 12.11 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.001327/0.7673, allocations: 0.6377 MB / 0.9395 GB, free: 11.46 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.003945/0.7713, allocations: 1.989 MB / 0.9414 GB, free: 9.469 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.64e-06/0.7713, allocations: 4 kB / 0.9415 GB, free: 9.465 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.615e-06/0.7713, allocations: 0 / 0.9415 GB, free: 9.465 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.63e-05/0.7714, allocations: 0 / 0.9415 GB, free: 9.465 MB / 0.7169 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.003119/0.7745, allocations: 1.415 MB / 0.9428 GB, free: 8.016 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.577e-05/0.7745, allocations: 8.031 kB / 0.9428 GB, free: 8.008 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002887/0.7748, allocations: 147.6 kB / 0.943 GB, free: 7.855 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001585/0.7764, allocations: 259 kB / 0.9432 GB, free: 7.602 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0016/0.778, allocations: 0.7244 MB / 0.9439 GB, free: 6.852 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.833e-05/0.7781, allocations: 78 kB / 0.944 GB, free: 6.777 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001614/0.7782, allocations: 94.92 kB / 0.9441 GB, free: 6.688 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001822/0.7801, allocations: 1.169 MB / 0.9452 GB, free: 5.449 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.116e-05/0.7801, allocations: 7.891 kB / 0.9453 GB, free: 5.441 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.389e-05/0.7802, allocations: 39.94 kB / 0.9453 GB, free: 5.402 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.955e-05/0.7802, allocations: 41.98 kB / 0.9453 GB, free: 5.363 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001499/0.7817, allocations: 0.9054 MB / 0.9462 GB, free: 4.453 MB / 0.7169 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.006649/0.7884, allocations: 5.677 MB / 0.9518 GB, free: 14.32 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008955/0.7893, allocations: 0.5197 MB / 0.9523 GB, free: 13.79 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004454/0.7897, allocations: 299.1 kB / 0.9525 GB, free: 13.5 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005072/0.7902, allocations: 88.39 kB / 0.9526 GB, free: 13.41 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.884e-05/0.7903, allocations: 39 kB / 0.9527 GB, free: 13.37 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=49): time 1.984e-06/0.7903, allocations: 0 / 0.9527 GB, free: 13.37 MB / 0.7325 GB Notification: Performance of matching and sorting (n=49): time 0.001532/0.7918, allocations: 0.803 MB / 0.9535 GB, free: 12.56 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.419e-05/0.7918, allocations: 59.84 kB / 0.9535 GB, free: 12.48 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000983/0.7928, allocations: 0.7549 MB / 0.9542 GB, free: 11.72 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 5.807e-05/0.7929, allocations: 37.7 kB / 0.9543 GB, free: 11.68 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004196/0.7933, allocations: 0.5116 MB / 0.9548 GB, free: 11.16 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001829/0.7935, allocations: 186.4 kB / 0.955 GB, free: 10.98 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002115/0.7937, allocations: 142.6 kB / 0.9551 GB, free: 10.83 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001585/0.7939, allocations: 337.9 kB / 0.9554 GB, free: 10.5 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004276/0.7943, allocations: 253.8 kB / 0.9557 GB, free: 10.25 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006814/0.795, allocations: 0.5546 MB / 0.9562 GB, free: 9.562 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001059/0.796, allocations: 0.7956 MB / 0.957 GB, free: 8.66 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.905e-06/0.796, allocations: 4 kB / 0.957 GB, free: 8.656 MB / 0.7325 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.00135/0.7974, allocations: 0.855 MB / 0.9578 GB, free: 7.797 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.94e-05/0.7974, allocations: 8 kB / 0.9578 GB, free: 7.789 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.366e-05/0.7974, allocations: 8 kB / 0.9578 GB, free: 7.781 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.59e-05/0.7974, allocations: 12 kB / 0.9578 GB, free: 7.77 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005591/0.798, allocations: 155.7 kB / 0.958 GB, free: 7.617 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.123e-05/0.798, allocations: 17.5 kB / 0.958 GB, free: 7.602 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006723/0.7987, allocations: 87.39 kB / 0.9581 GB, free: 7.516 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.603e-05/0.7988, allocations: 40.05 kB / 0.9581 GB, free: 7.477 MB / 0.7325 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.0004535/0.7992, allocations: 333.5 kB / 0.9585 GB, free: 7.141 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001499/0.7994, allocations: 91.44 kB / 0.9585 GB, free: 7.051 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00107/0.8004, allocations: 0.6188 MB / 0.9591 GB, free: 6.418 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.911e-06/0.8005, allocations: 4 kB / 0.9591 GB, free: 6.414 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.85e-06/0.8005, allocations: 7.875 kB / 0.9592 GB, free: 6.406 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007616/0.8012, allocations: 0.5173 MB / 0.9597 GB, free: 5.875 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002627/0.8038, allocations: 1.635 MB / 0.9613 GB, free: 4.164 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.335e-06/0.8039, allocations: 9.062 kB / 0.9613 GB, free: 4.156 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005285/0.8044, allocations: 116 kB / 0.9614 GB, free: 4.043 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.256e-06/0.8044, allocations: 4 kB / 0.9614 GB, free: 4.039 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.025e-05/0.8044, allocations: 12 kB / 0.9614 GB, free: 4.027 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.364e-06/0.8044, allocations: 7.984 kB / 0.9614 GB, free: 4.02 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.933e-06/0.8044, allocations: 0 / 0.9614 GB, free: 4.02 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001425/0.8059, allocations: 1.028 MB / 0.9624 GB, free: 2.961 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003756/0.8062, allocations: 155.2 kB / 0.9626 GB, free: 2.809 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001152/0.8064, allocations: 12 kB / 0.9626 GB, free: 2.797 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004541/0.8068, allocations: 23.98 kB / 0.9626 GB, free: 2.773 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.606e-05/0.8069, allocations: 39.88 kB / 0.9626 GB, free: 2.734 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.396e-05/0.8069, allocations: 15.94 kB / 0.9626 GB, free: 2.719 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0007007/0.8076, allocations: 0.5146 MB / 0.9631 GB, free: 2.211 MB / 0.7325 GB Notification: Performance of sort global known variables: time 8e-08/0.8076, allocations: 0 / 0.9631 GB, free: 2.211 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0009441/0.8086, allocations: 303.4 kB / 0.9634 GB, free: 1.914 MB / 0.7325 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.002092/0.8106, allocations: 1.657 MB / 0.965 GB, free: 220 kB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.00108/0.8117, allocations: 0.5809 MB / 0.9656 GB, free: 15.63 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 5.02e-06/0.8117, allocations: 4 kB / 0.9656 GB, free: 15.63 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0003747/0.8121, allocations: 256.2 kB / 0.9659 GB, free: 15.38 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001923/0.814, allocations: 445.4 kB / 0.9663 GB, free: 14.95 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01038/0.8244, allocations: 7.245 MB / 0.9734 GB, free: 7.324 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009365/0.8253, allocations: 1.126 MB / 0.9745 GB, free: 6.172 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0008101/0.8262, allocations: 267.1 kB / 0.9747 GB, free: 5.906 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005283/0.8267, allocations: 363.3 kB / 0.9751 GB, free: 5.551 MB / 0.7481 GB Notification: Performance of SimCode: time 7.01e-07/0.8267, allocations: 0 / 0.9751 GB, free: 5.551 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06482/0.8915, allocations: 23.86 MB / 0.9984 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.1/12.99, allocations: 3.188 kB / 0.9984 GB, free: 14.07 MB / 0.7794 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 & /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: 16.626538441050798] Failed to read output from testmodel.py, exit status != 0: 13.107368543045595 13.124000749 12.349314664 Calling exit ...