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-master/package.mo", uses=false) Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/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.006615/0.006615, allocations: 100.7 kB / 15.73 MB, free: 6.051 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.001396/0.001396, allocations: 198.1 kB / 16.67 MB, free: 5.973 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.407/1.407, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/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-master/package.mo): time 1.063/1.063, allocations: 143.3 MB / 433.8 MB, free: 11.47 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002662/0.002662, allocations: 67.89 kB / 0.5953 GB, free: 8.617 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.437/0.4397, allocations: 82.02 MB / 0.6754 GB, free: 1.027 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Sensors.Examples.TraceSubstances): time 0.2188/0.6585, allocations: 195.2 MB / 0.8661 GB, free: 2.293 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.3722/1.031, allocations: 14.34 MB / 0.8801 GB, free: 1.855 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001552/1.032, allocations: 35.94 kB / 0.8801 GB, free: 1.855 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.001422/1.034, allocations: 0.4966 MB / 0.8806 GB, free: 1.855 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.004465/1.038, allocations: 1.887 MB / 0.8824 GB, free: 1.789 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.002317/1.041, allocations: 0.8672 MB / 0.8833 GB, free: 1.77 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.003539/1.044, allocations: 2.571 MB / 0.8858 GB, free: 1.762 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001695/1.046, allocations: 1.109 MB / 0.8869 GB, free: 1.652 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00425/1.05, allocations: 1.602 MB / 0.8884 GB, free: 1.625 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001735/1.052, allocations: 0.9314 MB / 0.8893 GB, free: 1.617 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.000211/1.052, allocations: 108 kB / 0.8894 GB, free: 1.617 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00229/1.054, allocations: 1.099 MB / 0.8905 GB, free: 1.605 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0005159/1.055, allocations: 0.4946 MB / 0.891 GB, free: 1.605 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0008204/1.056, allocations: 0.6344 MB / 0.8916 GB, free: 1.605 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.0026/1.058, allocations: 1.995 MB / 0.8936 GB, free: 1.488 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/1.058, allocations: 1.594 kB / 0.8936 GB, free: 1.488 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.963e-06/1.058, allocations: 1.031 kB / 0.8936 GB, free: 1.488 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 1.9e-05/1.058, allocations: 0 / 0.8936 GB, free: 1.488 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.002186/1.061, allocations: 1.489 MB / 0.895 GB, free: 16.68 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 3.537e-05/1.061, allocations: 8.562 kB / 0.895 GB, free: 16.68 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001505/1.061, allocations: 149.1 kB / 0.8952 GB, free: 16.64 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001301/1.062, allocations: 262.7 kB / 0.8954 GB, free: 16.57 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001154/1.063, allocations: 0.797 MB / 0.8962 GB, free: 16.25 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.201e-05/1.063, allocations: 75.09 kB / 0.8963 GB, free: 16.25 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001241/1.063, allocations: 92.41 kB / 0.8964 GB, free: 16.25 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001437/1.065, allocations: 1.174 MB / 0.8975 GB, free: 16.02 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.799e-05/1.065, allocations: 3.719 kB / 0.8975 GB, free: 16.02 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.002e-05/1.065, allocations: 38.5 kB / 0.8976 GB, free: 16.02 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.519e-05/1.065, allocations: 33.38 kB / 0.8976 GB, free: 16.02 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001158/1.066, allocations: 0.9043 MB / 0.8985 GB, free: 16.01 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.005097/1.071, allocations: 5.757 MB / 0.9041 GB, free: 12.24 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007181/1.072, allocations: 0.5316 MB / 0.9046 GB, free: 12.21 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003565/1.072, allocations: 321.3 kB / 0.9049 GB, free: 12.2 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006043/1.073, allocations: 312.7 kB / 0.9052 GB, free: 11.92 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.581e-05/1.073, allocations: 44.56 kB / 0.9053 GB, free: 11.88 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=49): time 2.214e-06/1.073, allocations: 0.8125 kB / 0.9053 GB, free: 11.88 MB / 0.7012 GB Notification: Performance of matching and sorting (n=49): time 0.001322/1.074, allocations: 0.7998 MB / 0.906 GB, free: 11.79 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.618e-05/1.074, allocations: 61.22 kB / 0.9061 GB, free: 11.73 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007866/1.075, allocations: 0.751 MB / 0.9068 GB, free: 11.59 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 5.326e-05/1.075, allocations: 41.45 kB / 0.9069 GB, free: 11.56 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003423/1.076, allocations: 0.5173 MB / 0.9074 GB, free: 11.3 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001692/1.076, allocations: 186.1 kB / 0.9076 GB, free: 11.19 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001976/1.076, allocations: 148.2 kB / 0.9077 GB, free: 11.16 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001572/1.076, allocations: 332.3 kB / 0.908 GB, free: 10.86 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003136/1.077, allocations: 255 kB / 0.9083 GB, free: 10.86 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005759/1.077, allocations: 0.547 MB / 0.9088 GB, free: 10.5 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008722/1.078, allocations: 0.8029 MB / 0.9096 GB, free: 10.21 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.749e-06/1.078, allocations: 4.188 kB / 0.9096 GB, free: 10.21 MB / 0.7012 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001099/1.079, allocations: 0.8471 MB / 0.9104 GB, free: 10.13 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.773e-05/1.079, allocations: 8.281 kB / 0.9104 GB, free: 10.13 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.113e-05/1.079, allocations: 10.78 kB / 0.9104 GB, free: 10.13 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.168e-05/1.079, allocations: 11.16 kB / 0.9104 GB, free: 10.13 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000501/1.08, allocations: 152.8 kB / 0.9106 GB, free: 10.13 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.585e-05/1.08, allocations: 19.8 kB / 0.9106 GB, free: 10.13 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007246/1.08, allocations: 92.22 kB / 0.9107 GB, free: 10.08 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.408e-05/1.08, allocations: 36.09 kB / 0.9107 GB, free: 10.08 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.000406/1.081, allocations: 338.9 kB / 0.911 GB, free: 9.957 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001308/1.081, allocations: 91.59 kB / 0.9111 GB, free: 9.91 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008605/1.082, allocations: 0.6153 MB / 0.9117 GB, free: 9.852 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.45e-06/1.082, allocations: 5.469 kB / 0.9117 GB, free: 9.852 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/1.082, allocations: 0 / 0.9117 GB, free: 9.852 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006165/1.083, allocations: 0.5178 MB / 0.9122 GB, free: 9.781 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002162/1.085, allocations: 1.673 MB / 0.9139 GB, free: 9.398 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.322e-06/1.085, allocations: 7.406 kB / 0.9139 GB, free: 9.395 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004916/1.085, allocations: 109.9 kB / 0.914 GB, free: 9.395 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.033e-06/1.085, allocations: 5.094 kB / 0.914 GB, free: 9.395 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.136e-05/1.085, allocations: 16.91 kB / 0.914 GB, free: 9.391 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.502e-06/1.085, allocations: 8.938 kB / 0.914 GB, free: 9.391 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.208e-06/1.085, allocations: 4.094 kB / 0.914 GB, free: 9.391 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001251/1.087, allocations: 1.022 MB / 0.915 GB, free: 9.141 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003253/1.087, allocations: 228.3 kB / 0.9152 GB, free: 8.996 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000107/1.087, allocations: 16.97 kB / 0.9153 GB, free: 8.992 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004328/1.087, allocations: 20.61 kB / 0.9153 GB, free: 8.992 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.742e-05/1.088, allocations: 32.03 kB / 0.9153 GB, free: 8.992 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.43e-05/1.088, allocations: 17.25 kB / 0.9153 GB, free: 8.992 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0005792/1.088, allocations: 0.5105 MB / 0.9158 GB, free: 8.902 MB / 0.7012 GB Notification: Performance of sort global known variables: time 2.01e-07/1.088, allocations: 2.469 kB / 0.9158 GB, free: 8.902 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.0009245/1.089, allocations: 300.1 kB / 0.9161 GB, free: 8.863 MB / 0.7012 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.001909/1.091, allocations: 1.687 MB / 0.9178 GB, free: 8.055 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.0008898/1.092, allocations: 0.6118 MB / 0.9184 GB, free: 8.051 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/1.092, allocations: 0.8438 kB / 0.9184 GB, free: 8.051 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0003526/1.092, allocations: 273.2 kB / 0.9186 GB, free: 8.047 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00179/1.094, allocations: 444.5 kB / 0.919 GB, free: 7.984 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008552/1.103, allocations: 7.235 MB / 0.9261 GB, free: 5.273 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007364/1.103, allocations: 1.121 MB / 0.9272 GB, free: 4.562 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.0007981/1.104, allocations: 261.8 kB / 0.9274 GB, free: 4.523 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004226/1.105, allocations: 359.7 kB / 0.9278 GB, free: 4.516 MB / 0.7012 GB Notification: Performance of SimCode: time 1.202e-06/1.105, allocations: 0 / 0.9278 GB, free: 4.516 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05062/1.155, allocations: 23.15 MB / 0.9504 GB, free: 10.17 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.437/10.59, allocations: 4.375 kB / 0.9504 GB, free: 10.17 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 & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.TraceSubstances_res.csv --start-time 0 --stop-time 7200 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 2.88 BuildSysPro_BuildSysPro_IBPSA_Fluid_Sensors_Examples_TraceSubstances.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.TraceSubstances.pipe 2>&1)