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.0009318/0.000932, allocations: 90.83 kB / 15.36 MB, free: 0.7383 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.005637/0.005637, allocations: 171.9 kB / 16.26 MB, free: 6.613 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.284/1.284, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.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.9395/0.9395, allocations: 143.2 MB / 434.6 MB, free: 13.67 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003544/0.0003545, allocations: 12 kB / 0.5165 GB, free: 11.01 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1834/0.1838, allocations: 83.41 MB / 0.598 GB, free: 7.562 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Sensors.Examples.TraceSubstances): time 0.455/0.6389, allocations: 190.4 MB / 0.7839 GB, free: 13.44 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.01699/0.6559, allocations: 14.23 MB / 0.7978 GB, free: 15.17 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001265/0.6572, allocations: 35.75 kB / 0.7978 GB, free: 15.13 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.001637/0.6589, allocations: 417.7 kB / 0.7982 GB, free: 14.72 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.004831/0.6637, allocations: 1.771 MB / 0.7999 GB, free: 12.95 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.002313/0.6661, allocations: 0.7769 MB / 0.8007 GB, free: 12.18 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.003993/0.6701, allocations: 3.618 MB / 0.8042 GB, free: 8.551 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001423/0.6715, allocations: 0.9126 MB / 0.8051 GB, free: 7.621 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004385/0.6759, allocations: 1.407 MB / 0.8065 GB, free: 6.227 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002007/0.6779, allocations: 0.9165 MB / 0.8074 GB, free: 5.309 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0002592/0.6782, allocations: 51.94 kB / 0.8074 GB, free: 5.258 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002619/0.6808, allocations: 1.247 MB / 0.8087 GB, free: 4.008 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0008096/0.6817, allocations: 434.8 kB / 0.8091 GB, free: 3.582 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.001692/0.6834, allocations: 0.5924 MB / 0.8096 GB, free: 2.98 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.003421/0.6868, allocations: 1.962 MB / 0.8116 GB, free: 1.012 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 6.352e-06/0.6868, allocations: 0 / 0.8116 GB, free: 1.012 MB / 0.6231 GB Notification: Performance of FrontEnd: time 2.715e-06/0.6868, allocations: 0 / 0.8116 GB, free: 1.012 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 7.637e-05/0.6869, allocations: 0 / 0.8116 GB, free: 1.012 MB / 0.6231 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.002656/0.6896, allocations: 1.226 MB / 0.8128 GB, free: 15.73 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.372e-05/0.6896, allocations: 8.031 kB / 0.8128 GB, free: 15.73 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002716/0.6899, allocations: 147.6 kB / 0.8129 GB, free: 15.57 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001482/0.6914, allocations: 254.3 kB / 0.8132 GB, free: 15.32 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001186/0.6926, allocations: 0.7531 MB / 0.8139 GB, free: 14.53 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.257e-05/0.6927, allocations: 70 kB / 0.814 GB, free: 14.46 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001336/0.6928, allocations: 96 kB / 0.814 GB, free: 14.37 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001642/0.6945, allocations: 1.173 MB / 0.8152 GB, free: 13.12 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.578e-05/0.6945, allocations: 3.938 kB / 0.8152 GB, free: 13.12 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.468e-05/0.6946, allocations: 43.94 kB / 0.8152 GB, free: 13.08 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.999e-05/0.6946, allocations: 34 kB / 0.8153 GB, free: 13.04 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001313/0.6959, allocations: 0.9015 MB / 0.8162 GB, free: 12.14 MB / 0.6387 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.005068/0.701, allocations: 5.739 MB / 0.8218 GB, free: 5.949 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008158/0.7019, allocations: 0.5354 MB / 0.8223 GB, free: 5.406 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004222/0.7023, allocations: 324.5 kB / 0.8226 GB, free: 5.09 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000571/0.7029, allocations: 323.8 kB / 0.8229 GB, free: 4.719 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.123e-05/0.7029, allocations: 42.98 kB / 0.8229 GB, free: 4.664 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=49): time 2.374e-06/0.7029, allocations: 4 kB / 0.8229 GB, free: 4.66 MB / 0.6387 GB Notification: Performance of matching and sorting (n=49): time 0.001411/0.7043, allocations: 0.7987 MB / 0.8237 GB, free: 3.855 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.296e-05/0.7044, allocations: 55.84 kB / 0.8238 GB, free: 3.789 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008615/0.7052, allocations: 0.7432 MB / 0.8245 GB, free: 3.035 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 5.628e-05/0.7053, allocations: 37.7 kB / 0.8245 GB, free: 2.992 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003367/0.7057, allocations: 0.5103 MB / 0.825 GB, free: 2.473 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.000154/0.7058, allocations: 181.5 kB / 0.8252 GB, free: 2.293 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.192e-05/0.7059, allocations: 61.69 kB / 0.8253 GB, free: 2.227 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001096/0.706, allocations: 333.9 kB / 0.8256 GB, free: 1.895 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000356/0.7064, allocations: 249.9 kB / 0.8258 GB, free: 1.652 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005748/0.707, allocations: 0.5508 MB / 0.8264 GB, free: 0.9688 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009429/0.7079, allocations: 0.8073 MB / 0.8271 GB, free: 52 kB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.309e-06/0.7079, allocations: 0 / 0.8271 GB, free: 52 kB / 0.6387 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.00125/0.7092, allocations: 0.8461 MB / 0.828 GB, free: 15.19 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.134e-05/0.7092, allocations: 8 kB / 0.828 GB, free: 15.18 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.126e-05/0.7092, allocations: 8 kB / 0.828 GB, free: 15.18 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.143e-05/0.7093, allocations: 12.78 kB / 0.828 GB, free: 15.16 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005325/0.7098, allocations: 151.8 kB / 0.8281 GB, free: 15.02 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.852e-05/0.7098, allocations: 23.92 kB / 0.8282 GB, free: 14.99 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008879/0.7107, allocations: 150.9 kB / 0.8283 GB, free: 14.84 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.047e-05/0.7108, allocations: 35.94 kB / 0.8283 GB, free: 14.81 MB / 0.6544 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.0004607/0.7113, allocations: 333.5 kB / 0.8287 GB, free: 14.47 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001167/0.7114, allocations: 82.97 kB / 0.8287 GB, free: 14.39 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009549/0.7124, allocations: 0.618 MB / 0.8293 GB, free: 13.76 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.48e-06/0.7124, allocations: 4 kB / 0.8294 GB, free: 13.76 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/0.7124, allocations: 0 / 0.8294 GB, free: 13.76 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006674/0.7131, allocations: 0.5211 MB / 0.8299 GB, free: 13.22 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002392/0.7155, allocations: 1.667 MB / 0.8315 GB, free: 11.48 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.16e-06/0.7155, allocations: 3.938 kB / 0.8315 GB, free: 11.48 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005032/0.716, allocations: 120 kB / 0.8316 GB, free: 11.36 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.785e-06/0.716, allocations: 4 kB / 0.8316 GB, free: 11.36 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.896e-05/0.716, allocations: 8 kB / 0.8316 GB, free: 11.35 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.835e-06/0.7161, allocations: 7.984 kB / 0.8316 GB, free: 11.34 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.868e-06/0.7161, allocations: 4 kB / 0.8316 GB, free: 11.34 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00127/0.7173, allocations: 1.019 MB / 0.8326 GB, free: 10.29 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003201/0.7177, allocations: 219.9 kB / 0.8328 GB, free: 10.05 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.516e-05/0.7178, allocations: 19.98 kB / 0.8329 GB, free: 10.03 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005675/0.7183, allocations: 67.94 kB / 0.8329 GB, free: 9.965 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.621e-05/0.7184, allocations: 39.88 kB / 0.833 GB, free: 9.926 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.568e-05/0.7185, allocations: 16 kB / 0.833 GB, free: 9.91 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0006143/0.7191, allocations: 0.5224 MB / 0.8335 GB, free: 9.391 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.41e-07/0.7191, allocations: 0 / 0.8335 GB, free: 9.391 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0008406/0.7199, allocations: 291.4 kB / 0.8338 GB, free: 9.105 MB / 0.6544 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.001874/0.7218, allocations: 1.674 MB / 0.8354 GB, free: 7.406 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.000914/0.7227, allocations: 0.6043 MB / 0.836 GB, free: 6.801 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.7228, allocations: 4.062 kB / 0.836 GB, free: 6.797 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0003401/0.7231, allocations: 267.7 kB / 0.8362 GB, free: 6.535 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002222/0.7253, allocations: 441.3 kB / 0.8367 GB, free: 6.121 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01022/0.7356, allocations: 7.947 MB / 0.8444 GB, free: 13.77 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006741/0.7363, allocations: 1.122 MB / 0.8455 GB, free: 12.62 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0009287/0.7372, allocations: 266.3 kB / 0.8458 GB, free: 12.36 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004731/0.7377, allocations: 363.3 kB / 0.8461 GB, free: 12 MB / 0.67 GB Notification: Performance of SimCode: time 8.52e-07/0.7377, allocations: 0 / 0.8461 GB, free: 12 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2822/1.02, allocations: 22.1 MB / 0.8677 GB, free: 207.9 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001328/1.02, allocations: 261.9 kB / 0.868 GB, free: 207.7 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.155/3.175, allocations: 2.938 kB / 0.868 GB, free: 207.7 MB / 0.67 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)