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.001281/0.001281, allocations: 101.8 kB / 19.73 MB, free: 2.23 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.001342/0.001342, allocations: 217 kB / 23.04 MB, free: 5.074 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.439/1.439, allocations: 230.6 MB / 256.8 MB, free: 7.988 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.8941/0.8941, allocations: 145 MB / 458.2 MB, free: 15.68 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="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.00199/0.00199, allocations: 66.78 kB / 0.634 GB, free: 7.387 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2057/0.2076, allocations: 87.87 MB / 0.7198 GB, free: 15.53 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Sensors.Examples.TraceSubstances): time 0.6564/0.864, allocations: 199.2 MB / 0.9143 GB, free: 6.148 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.02267/0.8867, allocations: 14.54 MB / 0.9285 GB, free: 7.57 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002057/0.8887, allocations: 47.62 kB / 0.9286 GB, free: 7.523 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.00184/0.8906, allocations: 0.5202 MB / 0.9291 GB, free: 7 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.005803/0.8964, allocations: 1.998 MB / 0.931 GB, free: 5 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.00284/0.8992, allocations: 0.9066 MB / 0.9319 GB, free: 4.098 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.004566/0.9038, allocations: 2.628 MB / 0.9345 GB, free: 1.461 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001748/0.9055, allocations: 0.803 MB / 0.9353 GB, free: 0.6328 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005792/0.9113, allocations: 1.681 MB / 0.9369 GB, free: 14.97 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002612/0.9139, allocations: 0.9997 MB / 0.9379 GB, free: 13.97 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0005677/0.9145, allocations: 108 kB / 0.938 GB, free: 13.87 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003529/0.918, allocations: 1.185 MB / 0.9392 GB, free: 12.68 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.001156/0.9192, allocations: 0.5064 MB / 0.9397 GB, free: 12.17 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.001711/0.9209, allocations: 0.63 MB / 0.9403 GB, free: 11.54 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.004645/0.9255, allocations: 2.005 MB / 0.9422 GB, free: 9.527 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 7.044e-06/0.9255, allocations: 0 / 0.9422 GB, free: 9.527 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.255e-06/0.9255, allocations: 0 / 0.9422 GB, free: 9.527 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 8.101e-05/0.9256, allocations: 0 / 0.9422 GB, free: 9.527 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.003709/0.9293, allocations: 1.411 MB / 0.9436 GB, free: 8.082 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.597e-05/0.9294, allocations: 8.031 kB / 0.9436 GB, free: 8.074 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.441e-05/0.9294, allocations: 26 kB / 0.9436 GB, free: 8.047 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002167/0.9296, allocations: 143.5 kB / 0.9438 GB, free: 7.898 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001503/0.9311, allocations: 267 kB / 0.944 GB, free: 7.637 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00147/0.9326, allocations: 0.7284 MB / 0.9447 GB, free: 6.887 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.195e-05/0.9327, allocations: 73.94 kB / 0.9448 GB, free: 6.812 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001501/0.9328, allocations: 92 kB / 0.9449 GB, free: 6.723 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001801/0.9346, allocations: 1.169 MB / 0.946 GB, free: 5.488 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.979e-05/0.9347, allocations: 11.89 kB / 0.946 GB, free: 5.477 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.337e-05/0.9348, allocations: 43.94 kB / 0.9461 GB, free: 5.434 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.587e-05/0.9348, allocations: 30 kB / 0.9461 GB, free: 5.402 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001413/0.9362, allocations: 0.9015 MB / 0.947 GB, free: 4.5 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.006076/0.9423, allocations: 5.684 MB / 0.9526 GB, free: 14.36 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000894/0.9432, allocations: 0.5128 MB / 0.9531 GB, free: 13.84 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004664/0.9436, allocations: 299.1 kB / 0.9533 GB, free: 13.54 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004738/0.9441, allocations: 84.41 kB / 0.9534 GB, free: 13.46 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.4e-05/0.9442, allocations: 39 kB / 0.9535 GB, free: 13.41 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=49): time 2.154e-06/0.9442, allocations: 0 / 0.9535 GB, free: 13.41 MB / 0.7325 GB Notification: Performance of matching and sorting (n=49): time 0.00157/0.9457, allocations: 0.8108 MB / 0.9542 GB, free: 12.6 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.695e-05/0.9458, allocations: 55.84 kB / 0.9543 GB, free: 12.53 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009296/0.9467, allocations: 0.751 MB / 0.955 GB, free: 11.77 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 5.422e-05/0.9468, allocations: 37.7 kB / 0.9551 GB, free: 11.73 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004083/0.9472, allocations: 0.5194 MB / 0.9556 GB, free: 11.2 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001705/0.9473, allocations: 186.4 kB / 0.9558 GB, free: 11.02 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002145/0.9476, allocations: 142.6 kB / 0.9559 GB, free: 10.87 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001515/0.9477, allocations: 345.9 kB / 0.9562 GB, free: 10.53 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000381/0.9481, allocations: 246.7 kB / 0.9565 GB, free: 10.29 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006686/0.9488, allocations: 0.5546 MB / 0.957 GB, free: 9.602 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001058/0.9498, allocations: 0.8034 MB / 0.9578 GB, free: 8.691 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.288e-06/0.9498, allocations: 0 / 0.9578 GB, free: 8.691 MB / 0.7325 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001333/0.9511, allocations: 0.8507 MB / 0.9586 GB, free: 7.836 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.244e-05/0.9512, allocations: 9.875 kB / 0.9586 GB, free: 7.828 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.276e-05/0.9512, allocations: 8 kB / 0.9586 GB, free: 7.82 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.624e-05/0.9512, allocations: 12 kB / 0.9586 GB, free: 7.809 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005536/0.9518, allocations: 152.9 kB / 0.9588 GB, free: 7.66 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.522e-05/0.9518, allocations: 19.92 kB / 0.9588 GB, free: 7.641 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006722/0.9525, allocations: 95.8 kB / 0.9589 GB, free: 7.547 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.106e-05/0.9525, allocations: 36 kB / 0.9589 GB, free: 7.512 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.0004513/0.953, allocations: 329.5 kB / 0.9592 GB, free: 7.18 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001368/0.9531, allocations: 91.44 kB / 0.9593 GB, free: 7.09 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001036/0.9541, allocations: 0.6102 MB / 0.9599 GB, free: 6.469 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.284e-06/0.9542, allocations: 4 kB / 0.9599 GB, free: 6.465 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.963e-06/0.9542, allocations: 8 kB / 0.9599 GB, free: 6.457 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007687/0.9549, allocations: 0.525 MB / 0.9605 GB, free: 5.918 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002508/0.9574, allocations: 1.643 MB / 0.9621 GB, free: 4.199 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.661e-06/0.9574, allocations: 7.938 kB / 0.9621 GB, free: 4.191 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005137/0.958, allocations: 111.8 kB / 0.9622 GB, free: 4.082 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.444e-06/0.958, allocations: 4 kB / 0.9622 GB, free: 4.078 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.631e-05/0.958, allocations: 16 kB / 0.9622 GB, free: 4.062 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.611e-06/0.958, allocations: 4 kB / 0.9622 GB, free: 4.059 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.958, allocations: 0 / 0.9622 GB, free: 4.059 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001418/0.9594, allocations: 1.032 MB / 0.9632 GB, free: 2.996 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003211/0.9598, allocations: 151.3 kB / 0.9633 GB, free: 2.848 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001036/0.9599, allocations: 12 kB / 0.9634 GB, free: 2.836 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004371/0.9603, allocations: 22.25 kB / 0.9634 GB, free: 2.816 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.607e-05/0.9604, allocations: 31.94 kB / 0.9634 GB, free: 2.785 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.993e-05/0.9604, allocations: 23.98 kB / 0.9634 GB, free: 2.762 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0006641/0.9611, allocations: 0.5107 MB / 0.9639 GB, free: 2.254 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9611, allocations: 0 / 0.9639 GB, free: 2.254 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0009256/0.962, allocations: 303.4 kB / 0.9642 GB, free: 1.957 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.002214/0.9642, allocations: 1.656 MB / 0.9658 GB, free: 264 kB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001057/0.9653, allocations: 0.5883 MB / 0.9664 GB, free: 15.67 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.9653, allocations: 0.625 kB / 0.9664 GB, free: 15.67 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0003637/0.9656, allocations: 255.7 kB / 0.9667 GB, free: 15.42 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001965/0.9676, allocations: 443.3 kB / 0.9671 GB, free: 15 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01124/0.9788, allocations: 7.246 MB / 0.9742 GB, free: 7.367 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009391/0.9798, allocations: 1.126 MB / 0.9753 GB, free: 6.215 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0009285/0.9807, allocations: 271 kB / 0.9755 GB, free: 5.945 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006093/0.9813, allocations: 359.3 kB / 0.9759 GB, free: 5.594 MB / 0.7481 GB Notification: Performance of SimCode: time 1.103e-06/0.9813, allocations: 0 / 0.9759 GB, free: 5.594 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06321/1.045, allocations: 23.88 MB / 0.9992 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.45/13.49, allocations: 10 kB / 0.9992 GB, free: 14.1 MB / 0.7794 GB " [Timeout remaining time 646] (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: 17.35006740305107] Failed to read output from testmodel.py, exit status != 0: 13.667581248912029 13.684389029 12.755279213 Calling exit ...