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.00133/0.00133, 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.00149/0.00149, allocations: 210.8 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.45/1.45, allocations: 230.6 MB / 256 MB, free: 7.828 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 1.021/1.021, allocations: 145 MB / 457.4 MB, free: 15.3 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.002037/0.002037, allocations: 65.19 kB / 0.6331 GB, free: 6.77 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.202/0.204, allocations: 87.88 MB / 0.7189 GB, free: 14.91 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Sensors.Examples.TraceSubstances): time 0.6425/0.8465, allocations: 172.8 MB / 0.8876 GB, free: 14.38 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.02241/0.869, allocations: 13.2 MB / 0.9005 GB, free: 1.145 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001733/0.8707, allocations: 47.62 kB / 0.9006 GB, free: 1.098 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.00196/0.8727, allocations: 0.493 MB / 0.9011 GB, free: 0.6016 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.007023/0.8797, allocations: 1.941 MB / 0.903 GB, free: 14.65 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.003707/0.8834, allocations: 0.8878 MB / 0.9038 GB, free: 13.77 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.004521/0.8879, allocations: 2.604 MB / 0.9064 GB, free: 11.16 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001811/0.8897, allocations: 0.8029 MB / 0.9071 GB, free: 10.33 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005416/0.8951, allocations: 1.665 MB / 0.9088 GB, free: 8.684 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002236/0.8974, allocations: 0.9523 MB / 0.9097 GB, free: 7.73 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0004479/0.8978, allocations: 112 kB / 0.9098 GB, free: 7.621 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002764/0.9006, allocations: 0.9312 MB / 0.9107 GB, free: 6.688 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.001049/0.9016, allocations: 0.5142 MB / 0.9112 GB, free: 6.172 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.001706/0.9033, allocations: 0.5251 MB / 0.9117 GB, free: 5.645 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.004634/0.908, allocations: 1.975 MB / 0.9137 GB, free: 3.664 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 6.052e-06/0.908, allocations: 0 / 0.9137 GB, free: 3.664 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.973e-06/0.908, allocations: 0 / 0.9137 GB, free: 3.664 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 8.69e-05/0.9081, allocations: 4 kB / 0.9137 GB, free: 3.66 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.00381/0.9119, allocations: 1.407 MB / 0.915 GB, free: 2.219 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 5.046e-05/0.9119, allocations: 15.97 kB / 0.9151 GB, free: 2.203 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003896/0.9123, allocations: 142.3 kB / 0.9152 GB, free: 2.059 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001662/0.914, allocations: 267 kB / 0.9154 GB, free: 1.797 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001717/0.9157, allocations: 0.7284 MB / 0.9162 GB, free: 1.039 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.224e-05/0.9158, allocations: 66 kB / 0.9162 GB, free: 0.9766 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001642/0.9159, allocations: 95.94 kB / 0.9163 GB, free: 0.8828 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002005/0.9179, allocations: 1.298 MB / 0.9176 GB, free: 15.48 MB / 0.7013 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.824e-05/0.918, allocations: 3.953 kB / 0.9176 GB, free: 15.48 MB / 0.7013 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.773e-05/0.9181, allocations: 39.94 kB / 0.9176 GB, free: 15.44 MB / 0.7013 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.58e-05/0.9181, allocations: 37.98 kB / 0.9177 GB, free: 15.41 MB / 0.7013 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001479/0.9196, allocations: 0.9054 MB / 0.9185 GB, free: 14.5 MB / 0.7013 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.005655/0.9252, allocations: 4.13 MB / 0.9226 GB, free: 10.24 MB / 0.7013 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009086/0.9261, allocations: 0.512 MB / 0.9231 GB, free: 9.719 MB / 0.7013 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004519/0.9266, allocations: 303.1 kB / 0.9234 GB, free: 9.422 MB / 0.7013 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004948/0.9271, allocations: 76.36 kB / 0.9234 GB, free: 9.348 MB / 0.7013 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.077e-05/0.9271, allocations: 42.94 kB / 0.9235 GB, free: 9.297 MB / 0.7013 GB Notification: Performance of pre-optimization done (n=49): time 2.525e-06/0.9271, allocations: 0 / 0.9235 GB, free: 9.297 MB / 0.7013 GB Notification: Performance of matching and sorting (n=49): time 0.001609/0.9287, allocations: 0.8031 MB / 0.9243 GB, free: 8.488 MB / 0.7013 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.738e-05/0.9288, allocations: 63.83 kB / 0.9243 GB, free: 8.41 MB / 0.7013 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001007/0.9298, allocations: 0.7625 MB / 0.9251 GB, free: 7.641 MB / 0.7013 GB Notification: Performance of collectPreVariables (initialization): time 6.15e-05/0.9299, allocations: 37.7 kB / 0.9251 GB, free: 7.598 MB / 0.7013 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005043/0.9304, allocations: 0.5117 MB / 0.9256 GB, free: 7.078 MB / 0.7013 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001942/0.9306, allocations: 194.4 kB / 0.9258 GB, free: 6.887 MB / 0.7013 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002277/0.9308, allocations: 138.6 kB / 0.9259 GB, free: 6.746 MB / 0.7013 GB Notification: Performance of setup shared object (initialization): time 0.0001603/0.931, allocations: 341.8 kB / 0.9262 GB, free: 6.406 MB / 0.7013 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003991/0.9314, allocations: 249.8 kB / 0.9265 GB, free: 6.164 MB / 0.7013 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008784/0.9322, allocations: 0.8385 MB / 0.9273 GB, free: 5.121 MB / 0.7013 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00114/0.9334, allocations: 0.7957 MB / 0.9281 GB, free: 4.219 MB / 0.7013 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.638e-06/0.9334, allocations: 4 kB / 0.9281 GB, free: 4.215 MB / 0.7013 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001475/0.9349, allocations: 0.851 MB / 0.9289 GB, free: 3.359 MB / 0.7013 GB Notification: Performance of prepare postOptimizeDAE: time 2.579e-05/0.9349, allocations: 10.69 kB / 0.9289 GB, free: 3.352 MB / 0.7013 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.772e-05/0.9349, allocations: 12 kB / 0.9289 GB, free: 3.34 MB / 0.7013 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.936e-05/0.9349, allocations: 12 kB / 0.9289 GB, free: 3.328 MB / 0.7013 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000584/0.9355, allocations: 152.6 kB / 0.9291 GB, free: 3.18 MB / 0.7013 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.865e-05/0.9355, allocations: 19.92 kB / 0.9291 GB, free: 3.16 MB / 0.7013 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007878/0.9363, allocations: 91.34 kB / 0.9292 GB, free: 3.07 MB / 0.7013 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.454e-05/0.9364, allocations: 35.94 kB / 0.9292 GB, free: 3.035 MB / 0.7013 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.0005425/0.937, allocations: 329.5 kB / 0.9295 GB, free: 2.703 MB / 0.7013 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001904/0.9371, allocations: 99.47 kB / 0.9296 GB, free: 2.605 MB / 0.7013 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001132/0.9383, allocations: 0.619 MB / 0.9302 GB, free: 1.973 MB / 0.7013 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.133e-06/0.9383, allocations: 4 kB / 0.9303 GB, free: 1.969 MB / 0.7013 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.631e-06/0.9383, allocations: 0 / 0.9303 GB, free: 1.969 MB / 0.7013 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008009/0.9391, allocations: 0.5173 MB / 0.9308 GB, free: 1.438 MB / 0.7013 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002871/0.942, allocations: 1.545 MB / 0.9323 GB, free: 15.82 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.416e-06/0.942, allocations: 7.922 kB / 0.9323 GB, free: 15.81 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005769/0.9425, allocations: 107.9 kB / 0.9324 GB, free: 15.7 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.718e-06/0.9426, allocations: 0 / 0.9324 GB, free: 15.7 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.233e-05/0.9426, allocations: 23.98 kB / 0.9324 GB, free: 15.68 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.263e-06/0.9426, allocations: 6.266 kB / 0.9324 GB, free: 15.68 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.883e-06/0.9426, allocations: 7.938 kB / 0.9324 GB, free: 15.67 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00155/0.9442, allocations: 1.016 MB / 0.9334 GB, free: 14.62 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004571/0.9446, allocations: 155.4 kB / 0.9336 GB, free: 14.47 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001617/0.9448, allocations: 19.92 kB / 0.9336 GB, free: 14.45 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005187/0.9453, allocations: 17.69 kB / 0.9336 GB, free: 14.43 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.96e-05/0.9454, allocations: 35.88 kB / 0.9336 GB, free: 14.4 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.029e-05/0.9454, allocations: 23.94 kB / 0.9336 GB, free: 14.38 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0008135/0.9463, allocations: 0.5146 MB / 0.9341 GB, free: 13.87 MB / 0.7169 GB Notification: Performance of sort global known variables: time 8e-08/0.9463, allocations: 0 / 0.9341 GB, free: 13.87 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.001092/0.9473, allocations: 295.5 kB / 0.9344 GB, free: 13.58 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.002336/0.9497, allocations: 1.656 MB / 0.936 GB, free: 11.88 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.001195/0.9509, allocations: 0.5886 MB / 0.9366 GB, free: 11.29 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 4.468e-06/0.9509, allocations: 0 / 0.9366 GB, free: 11.29 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0004509/0.9513, allocations: 263.9 kB / 0.9369 GB, free: 11.03 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00207/0.9534, allocations: 441.7 kB / 0.9373 GB, free: 10.61 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01239/0.9658, allocations: 7.222 MB / 0.9443 GB, free: 3 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009295/0.9667, allocations: 0.5276 MB / 0.9449 GB, free: 2.441 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.001088/0.9678, allocations: 271 kB / 0.9451 GB, free: 2.172 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006518/0.9685, allocations: 359.3 kB / 0.9455 GB, free: 1.82 MB / 0.7169 GB Notification: Performance of SimCode: time 1.533e-06/0.9685, allocations: 0 / 0.9455 GB, free: 1.82 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07048/1.039, allocations: 25.46 MB / 0.9703 GB, free: 8.918 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.86/12.9, allocations: 10.38 kB / 0.9703 GB, free: 8.91 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 & /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.798271238803864] Failed to read output from testmodel.py, exit status != 0: 13.027172029949725 13.05298097 12.139269143 Calling exit ...