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.001387/0.001387, allocations: 97.88 kB / 19.73 MB, free: 2.117 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.001566/0.001566, allocations: 215.4 kB / 23.03 MB, free: 4.922 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.482/1.482, allocations: 230.6 MB / 256.8 MB, free: 7.805 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.9351/0.9351, allocations: 145 MB / 458.2 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="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.00201/0.00201, allocations: 62.47 kB / 0.6339 GB, free: 6.684 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1853/0.1873, allocations: 87.89 MB / 0.7197 GB, free: 14.8 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Sensors.Examples.TraceSubstances): time 0.6343/0.8216, allocations: 172.6 MB / 0.8883 GB, free: 14.57 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.02092/0.8425, allocations: 13.17 MB / 0.9011 GB, free: 1.355 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001766/0.8443, allocations: 51.56 kB / 0.9012 GB, free: 1.305 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.002064/0.8464, allocations: 0.4891 MB / 0.9017 GB, free: 0.8125 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.006242/0.8526, allocations: 1.945 MB / 0.9036 GB, free: 14.86 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.002998/0.8556, allocations: 0.9022 MB / 0.9045 GB, free: 13.96 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.004941/0.8606, allocations: 2.635 MB / 0.907 GB, free: 11.32 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001941/0.8625, allocations: 0.7991 MB / 0.9078 GB, free: 10.5 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005892/0.8684, allocations: 1.671 MB / 0.9094 GB, free: 8.84 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002436/0.8708, allocations: 0.9908 MB / 0.9104 GB, free: 7.852 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0005353/0.8714, allocations: 108 kB / 0.9105 GB, free: 7.746 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002971/0.8743, allocations: 0.9429 MB / 0.9114 GB, free: 6.801 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0009588/0.8753, allocations: 0.5103 MB / 0.9119 GB, free: 6.289 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.001398/0.8767, allocations: 0.529 MB / 0.9124 GB, free: 5.758 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.004003/0.8807, allocations: 1.974 MB / 0.9144 GB, free: 3.777 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 6.472e-06/0.8807, allocations: 0 / 0.9144 GB, free: 3.777 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.813e-06/0.8807, allocations: 0 / 0.9144 GB, free: 3.777 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 7.624e-05/0.8808, allocations: 0 / 0.9144 GB, free: 3.777 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.00351/0.8843, allocations: 1.411 MB / 0.9158 GB, free: 2.332 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 6.434e-05/0.8843, allocations: 12.03 kB / 0.9158 GB, free: 2.32 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 6.079e-05/0.8844, allocations: 22 kB / 0.9158 GB, free: 2.297 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003348/0.8847, allocations: 151.6 kB / 0.9159 GB, free: 2.141 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001776/0.8865, allocations: 255 kB / 0.9162 GB, free: 1.891 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001923/0.8884, allocations: 0.7361 MB / 0.9169 GB, free: 1.133 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.555e-05/0.8885, allocations: 66 kB / 0.917 GB, free: 1.066 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002168/0.8887, allocations: 95.98 kB / 0.917 GB, free: 0.9727 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002263/0.891, allocations: 1.298 MB / 0.9183 GB, free: 15.57 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.318e-05/0.891, allocations: 3.953 kB / 0.9183 GB, free: 15.57 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001002/0.8911, allocations: 43.94 kB / 0.9184 GB, free: 15.53 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.191e-05/0.8912, allocations: 30 kB / 0.9184 GB, free: 15.5 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001754/0.8929, allocations: 0.9093 MB / 0.9193 GB, free: 14.59 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.006446/0.8994, allocations: 4.138 MB / 0.9233 GB, free: 10.32 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009521/0.9003, allocations: 0.5046 MB / 0.9238 GB, free: 9.801 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004686/0.9008, allocations: 303.1 kB / 0.9241 GB, free: 9.504 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005242/0.9013, allocations: 76.36 kB / 0.9242 GB, free: 9.43 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.049e-05/0.9014, allocations: 42.98 kB / 0.9242 GB, free: 9.379 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=49): time 2.965e-06/0.9014, allocations: 0 / 0.9242 GB, free: 9.379 MB / 0.7012 GB Notification: Performance of matching and sorting (n=49): time 0.001775/0.9032, allocations: 0.8031 MB / 0.925 GB, free: 8.57 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.722e-05/0.9032, allocations: 55.84 kB / 0.925 GB, free: 8.5 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001266/0.9045, allocations: 0.751 MB / 0.9258 GB, free: 7.742 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 7.341e-05/0.9046, allocations: 33.7 kB / 0.9258 GB, free: 7.703 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005217/0.9051, allocations: 0.5232 MB / 0.9263 GB, free: 7.172 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002353/0.9053, allocations: 186.6 kB / 0.9265 GB, free: 6.988 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002659/0.9056, allocations: 138.6 kB / 0.9266 GB, free: 6.848 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001711/0.9058, allocations: 341.9 kB / 0.927 GB, free: 6.508 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004291/0.9062, allocations: 245.8 kB / 0.9272 GB, free: 6.27 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009663/0.9072, allocations: 0.8346 MB / 0.928 GB, free: 5.234 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001519/0.9087, allocations: 0.7996 MB / 0.9288 GB, free: 4.328 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.127e-05/0.9087, allocations: 3.938 kB / 0.9288 GB, free: 4.324 MB / 0.7012 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001859/0.9105, allocations: 0.8551 MB / 0.9296 GB, free: 3.465 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.837e-05/0.9106, allocations: 15.97 kB / 0.9296 GB, free: 3.449 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.789e-05/0.9106, allocations: 8 kB / 0.9297 GB, free: 3.441 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.013e-05/0.9106, allocations: 12 kB / 0.9297 GB, free: 3.43 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005939/0.9112, allocations: 147.8 kB / 0.9298 GB, free: 3.285 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.476e-05/0.9112, allocations: 20.62 kB / 0.9298 GB, free: 3.266 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009865/0.9122, allocations: 95.27 kB / 0.9299 GB, free: 3.172 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.462e-05/0.9123, allocations: 32.88 kB / 0.9299 GB, free: 3.141 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.0007172/0.913, allocations: 337.5 kB / 0.9303 GB, free: 2.801 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002527/0.9133, allocations: 87.44 kB / 0.9304 GB, free: 2.715 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00123/0.9145, allocations: 0.6179 MB / 0.931 GB, free: 2.086 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.244e-06/0.9145, allocations: 8 kB / 0.931 GB, free: 2.078 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.753e-06/0.9145, allocations: 0 / 0.931 GB, free: 2.078 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008807/0.9154, allocations: 0.5249 MB / 0.9315 GB, free: 1.539 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003289/0.9187, allocations: 1.55 MB / 0.933 GB, free: 15.91 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.107e-05/0.9187, allocations: 0 / 0.933 GB, free: 15.91 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006217/0.9193, allocations: 107.9 kB / 0.9331 GB, free: 15.81 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.478e-05/0.9194, allocations: 7.984 kB / 0.9331 GB, free: 15.8 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.681e-05/0.9194, allocations: 16 kB / 0.9331 GB, free: 15.79 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.128e-05/0.9194, allocations: 4 kB / 0.9331 GB, free: 15.78 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.2e-06/0.9194, allocations: 3.938 kB / 0.9331 GB, free: 15.78 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001877/0.9213, allocations: 1.028 MB / 0.9341 GB, free: 14.72 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006392/0.9219, allocations: 159.4 kB / 0.9343 GB, free: 14.56 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002699/0.9222, allocations: 11.98 kB / 0.9343 GB, free: 14.55 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006428/0.9229, allocations: 19.94 kB / 0.9343 GB, free: 14.53 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.405e-05/0.9229, allocations: 31.94 kB / 0.9343 GB, free: 14.5 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.258e-05/0.923, allocations: 19.98 kB / 0.9344 GB, free: 14.48 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0009929/0.924, allocations: 0.5107 MB / 0.9349 GB, free: 13.97 MB / 0.7169 GB Notification: Performance of sort global known variables: time 6e-08/0.924, allocations: 0 / 0.9349 GB, free: 13.97 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.001174/0.9251, allocations: 303.4 kB / 0.9351 GB, free: 13.68 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.002367/0.9275, allocations: 1.666 MB / 0.9368 GB, free: 11.97 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.001154/0.9287, allocations: 0.5806 MB / 0.9373 GB, free: 11.39 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 7.755e-06/0.9287, allocations: 7.938 kB / 0.9373 GB, free: 11.38 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0004073/0.9291, allocations: 264.3 kB / 0.9376 GB, free: 11.12 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002274/0.9314, allocations: 429.8 kB / 0.938 GB, free: 10.71 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01283/0.9442, allocations: 7.234 MB / 0.9451 GB, free: 3.094 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008639/0.945, allocations: 0.5237 MB / 0.9456 GB, free: 2.539 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.001015/0.9461, allocations: 279 kB / 0.9459 GB, free: 2.262 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006352/0.9467, allocations: 363.3 kB / 0.9462 GB, free: 1.906 MB / 0.7169 GB Notification: Performance of SimCode: time 1.182e-06/0.9467, allocations: 0 / 0.9462 GB, free: 1.906 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06163/1.008, allocations: 25.23 MB / 0.9708 GB, free: 9.254 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.84/13.85, allocations: 15.3 kB / 0.9708 GB, free: 9.242 MB / 0.7481 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.84963983099442] Failed to read output from testmodel.py, exit status != 0: 14.043334365007468 14.068209887 13.183544436 Calling exit ...