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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006879/0.006879, allocations: 100.7 kB / 15.73 MB, free: 6.004 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001296/0.001296, allocations: 196.6 kB / 16.67 MB, free: 5.926 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.311/1.311, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.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.6.0/package.mo): time 0.8498/0.8498, allocations: 143.1 MB / 433.6 MB, free: 11.98 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001945/0.001945, allocations: 68.73 kB / 0.5951 GB, free: 12.76 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2272/0.2292, allocations: 82.03 MB / 0.6752 GB, free: 10.84 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Sensors.Examples.TraceSubstances): time 0.6783/0.9076, allocations: 195.2 MB / 0.8658 GB, free: 10.77 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.01828/0.9259, allocations: 14.34 MB / 0.8798 GB, free: 12.39 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001645/0.9276, allocations: 43.69 kB / 0.8799 GB, free: 12.34 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.001629/0.9293, allocations: 0.5046 MB / 0.8804 GB, free: 11.84 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.005018/0.9343, allocations: 1.881 MB / 0.8822 GB, free: 9.949 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.00265/0.937, allocations: 0.8673 MB / 0.883 GB, free: 9.086 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.003756/0.9407, allocations: 2.575 MB / 0.8856 GB, free: 6.504 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001741/0.9425, allocations: 1.114 MB / 0.8866 GB, free: 5.371 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00485/0.9474, allocations: 1.608 MB / 0.8882 GB, free: 3.777 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002138/0.9495, allocations: 0.9308 MB / 0.8891 GB, free: 2.848 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.000438/0.95, allocations: 111.9 kB / 0.8892 GB, free: 2.738 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00309/0.9531, allocations: 1.103 MB / 0.8903 GB, free: 1.633 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0008717/0.9539, allocations: 0.4948 MB / 0.8908 GB, free: 1.137 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.001649/0.9556, allocations: 0.6338 MB / 0.8914 GB, free: 0.5 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.004481/0.9601, allocations: 1.986 MB / 0.8933 GB, free: 14.51 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 8.616e-06/0.9601, allocations: 0 / 0.8933 GB, free: 14.51 MB / 0.67 GB Notification: Performance of FrontEnd: time 6.031e-06/0.9602, allocations: 0 / 0.8933 GB, free: 14.51 MB / 0.67 GB Notification: Performance of Transformations before backend: time 7.871e-05/0.9602, allocations: 7.938 kB / 0.8934 GB, free: 14.5 MB / 0.67 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.003914/0.9642, allocations: 1.45 MB / 0.8948 GB, free: 13 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.624e-05/0.9642, allocations: 8.031 kB / 0.8948 GB, free: 12.99 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002978/0.9645, allocations: 147.6 kB / 0.8949 GB, free: 12.84 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001675/0.9662, allocations: 258.4 kB / 0.8952 GB, free: 12.59 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002004/0.9682, allocations: 0.7843 MB / 0.8959 GB, free: 11.76 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.059e-05/0.9683, allocations: 70 kB / 0.896 GB, free: 11.69 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002064/0.9685, allocations: 95.98 kB / 0.8961 GB, free: 11.6 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002098/0.9706, allocations: 1.169 MB / 0.8972 GB, free: 10.36 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.228e-05/0.9707, allocations: 3.938 kB / 0.8972 GB, free: 10.35 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.983e-05/0.9708, allocations: 43.92 kB / 0.8973 GB, free: 10.31 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.251e-05/0.9708, allocations: 34 kB / 0.8973 GB, free: 10.28 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001594/0.9724, allocations: 0.9016 MB / 0.8982 GB, free: 9.375 MB / 0.67 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.006993/0.9795, allocations: 5.75 MB / 0.9038 GB, free: 3.172 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009557/0.9804, allocations: 0.5324 MB / 0.9043 GB, free: 2.629 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004463/0.9809, allocations: 318.6 kB / 0.9046 GB, free: 2.316 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006451/0.9816, allocations: 319.7 kB / 0.9049 GB, free: 1.949 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.105e-05/0.9816, allocations: 39 kB / 0.905 GB, free: 1.902 MB / 0.67 GB Notification: Performance of pre-optimization done (n=49): time 2.324e-06/0.9816, allocations: 0 / 0.905 GB, free: 1.902 MB / 0.67 GB Notification: Performance of matching and sorting (n=49): time 0.00178/0.9834, allocations: 0.7948 MB / 0.9057 GB, free: 1.102 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.965e-05/0.9835, allocations: 59.84 kB / 0.9058 GB, free: 1.031 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001291/0.9848, allocations: 0.7625 MB / 0.9065 GB, free: 264 kB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 8.307e-05/0.9849, allocations: 37.7 kB / 0.9066 GB, free: 220 kB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004496/0.9853, allocations: 0.5065 MB / 0.9071 GB, free: 15.7 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002032/0.9856, allocations: 177.5 kB / 0.9072 GB, free: 15.52 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002294/0.9858, allocations: 138.5 kB / 0.9074 GB, free: 15.38 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.000141/0.9859, allocations: 337.9 kB / 0.9077 GB, free: 15.05 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003863/0.9863, allocations: 253.8 kB / 0.9079 GB, free: 14.8 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006283/0.987, allocations: 0.5508 MB / 0.9085 GB, free: 14.11 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001058/0.988, allocations: 0.7995 MB / 0.9093 GB, free: 13.2 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.735e-06/0.9881, allocations: 0 / 0.9093 GB, free: 13.2 MB / 0.6856 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001425/0.9895, allocations: 0.8468 MB / 0.9101 GB, free: 12.35 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.404e-05/0.9895, allocations: 12 kB / 0.9101 GB, free: 12.34 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.68e-05/0.9896, allocations: 8 kB / 0.9101 GB, free: 12.33 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.655e-05/0.9896, allocations: 15.94 kB / 0.9101 GB, free: 12.31 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005588/0.9902, allocations: 159.7 kB / 0.9103 GB, free: 12.16 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.01e-05/0.9902, allocations: 15.94 kB / 0.9103 GB, free: 12.14 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008164/0.991, allocations: 87.11 kB / 0.9104 GB, free: 12.05 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.478e-05/0.9911, allocations: 39.92 kB / 0.9104 GB, free: 12.02 MB / 0.6856 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.0005311/0.9916, allocations: 333.5 kB / 0.9107 GB, free: 11.68 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002156/0.9919, allocations: 82.97 kB / 0.9108 GB, free: 11.6 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009803/0.9928, allocations: 0.618 MB / 0.9114 GB, free: 10.97 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.756e-06/0.9929, allocations: 8 kB / 0.9114 GB, free: 10.96 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.485e-06/0.9929, allocations: 4 kB / 0.9114 GB, free: 10.96 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000664/0.9935, allocations: 0.5172 MB / 0.9119 GB, free: 10.43 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002457/0.996, allocations: 1.667 MB / 0.9136 GB, free: 8.684 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.003e-05/0.996, allocations: 7.938 kB / 0.9136 GB, free: 8.676 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005199/0.9966, allocations: 103.9 kB / 0.9137 GB, free: 8.574 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.225e-05/0.9966, allocations: 8.219 kB / 0.9137 GB, free: 8.566 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.49e-05/0.9966, allocations: 15.98 kB / 0.9137 GB, free: 8.551 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.334e-06/0.9967, allocations: 7.938 kB / 0.9137 GB, free: 8.543 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.9967, allocations: 0 / 0.9137 GB, free: 8.543 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001434/0.9981, allocations: 1.027 MB / 0.9147 GB, free: 7.48 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004554/0.9986, allocations: 223.9 kB / 0.9149 GB, free: 7.242 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001658/0.9987, allocations: 12 kB / 0.9149 GB, free: 7.23 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005216/0.9993, allocations: 19.92 kB / 0.9149 GB, free: 7.211 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.926e-05/0.9994, allocations: 31.97 kB / 0.915 GB, free: 7.18 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.826e-05/0.9994, allocations: 19.98 kB / 0.915 GB, free: 7.16 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0008066/1, allocations: 0.5146 MB / 0.9155 GB, free: 6.652 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.5e-07/1, allocations: 0 / 0.9155 GB, free: 6.652 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.00102/1.001, allocations: 295.3 kB / 0.9158 GB, free: 6.363 MB / 0.6856 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.002232/1.003, allocations: 1.67 MB / 0.9174 GB, free: 4.656 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.001075/1.005, allocations: 0.612 MB / 0.918 GB, free: 4.043 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 4.598e-06/1.005, allocations: 0 / 0.918 GB, free: 4.043 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0003742/1.005, allocations: 272 kB / 0.9183 GB, free: 3.777 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00196/1.007, allocations: 448.8 kB / 0.9187 GB, free: 3.352 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01029/1.017, allocations: 7.208 MB / 0.9257 GB, free: 11.76 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008101/1.018, allocations: 1.118 MB / 0.9268 GB, free: 10.62 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.0008439/1.019, allocations: 267 kB / 0.9271 GB, free: 10.35 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004899/1.019, allocations: 363.3 kB / 0.9274 GB, free: 9.996 MB / 0.7012 GB Notification: Performance of SimCode: time 8.61e-07/1.02, allocations: 0 / 0.9274 GB, free: 9.996 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05072/1.07, allocations: 23.47 MB / 0.9503 GB, free: 2.867 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.052/10.12, allocations: 3.938 kB / 0.9503 GB, free: 2.863 MB / 0.7169 GB (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 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Sensors_Examples_TraceSubstances.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.TraceSubstances.pipe 2>&1)