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.001239/0.00124, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001192/0.001192, allocations: 193.1 kB / 16.53 MB, free: 6.391 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.2 MB, free: 4.379 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.9698/0.9698, allocations: 143 MB / 433.4 MB, free: 11.51 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001516/0.001516, allocations: 63.91 kB / 0.5143 GB, free: 11.59 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1783/0.1798, allocations: 82.04 MB / 0.5944 GB, free: 9.52 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Sensors.Examples.TraceSubstances): time 0.5562/0.7361, allocations: 195.2 MB / 0.785 GB, free: 9.973 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.01644/0.7526, allocations: 14.34 MB / 0.799 GB, free: 11.59 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001307/0.7539, allocations: 39.75 kB / 0.7991 GB, free: 11.55 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.001384/0.7553, allocations: 0.4929 MB / 0.7995 GB, free: 11.05 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.004721/0.7601, allocations: 1.886 MB / 0.8014 GB, free: 9.16 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.002268/0.7623, allocations: 0.8553 MB / 0.8022 GB, free: 8.309 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.002867/0.7652, allocations: 2.574 MB / 0.8047 GB, free: 5.73 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001396/0.7666, allocations: 1.121 MB / 0.8058 GB, free: 4.594 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004901/0.7716, allocations: 1.592 MB / 0.8074 GB, free: 3.02 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00191/0.7735, allocations: 0.9136 MB / 0.8083 GB, free: 2.109 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0001912/0.7737, allocations: 112 kB / 0.8084 GB, free: 2 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002448/0.7761, allocations: 1.099 MB / 0.8095 GB, free: 0.8984 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0005263/0.7767, allocations: 0.5026 MB / 0.8099 GB, free: 404 kB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0007988/0.7775, allocations: 0.6299 MB / 0.8106 GB, free: 15.76 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.002611/0.7801, allocations: 1.959 MB / 0.8125 GB, free: 13.8 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.7801, allocations: 0 / 0.8125 GB, free: 13.8 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.824e-06/0.7801, allocations: 3.938 kB / 0.8125 GB, free: 13.79 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 2.129e-05/0.7802, allocations: 0 / 0.8125 GB, free: 13.79 MB / 0.6387 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.002239/0.7824, allocations: 1.449 MB / 0.8139 GB, free: 12.29 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 5.694e-05/0.7825, allocations: 15.97 kB / 0.8139 GB, free: 12.28 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001669/0.7826, allocations: 147.6 kB / 0.8141 GB, free: 12.12 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001351/0.784, allocations: 254.3 kB / 0.8143 GB, free: 11.88 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001204/0.7852, allocations: 0.7453 MB / 0.815 GB, free: 11.09 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.703e-05/0.7853, allocations: 78 kB / 0.8151 GB, free: 11.01 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001418/0.7854, allocations: 91.94 kB / 0.8152 GB, free: 10.92 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00168/0.7871, allocations: 1.169 MB / 0.8163 GB, free: 9.684 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.369e-05/0.7872, allocations: 4 kB / 0.8163 GB, free: 9.68 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.685e-05/0.7873, allocations: 39.94 kB / 0.8164 GB, free: 9.641 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.655e-05/0.7873, allocations: 41.98 kB / 0.8164 GB, free: 9.598 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001351/0.7887, allocations: 0.9092 MB / 0.8173 GB, free: 8.691 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.005388/0.7941, allocations: 5.767 MB / 0.8229 GB, free: 2.465 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008292/0.7949, allocations: 0.54 MB / 0.8235 GB, free: 1.918 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004125/0.7953, allocations: 315.1 kB / 0.8238 GB, free: 1.609 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005799/0.7959, allocations: 315.7 kB / 0.8241 GB, free: 1.246 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.825e-05/0.796, allocations: 42.94 kB / 0.8241 GB, free: 1.195 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=49): time 2.204e-06/0.796, allocations: 0 / 0.8241 GB, free: 1.195 MB / 0.6387 GB Notification: Performance of matching and sorting (n=49): time 0.001484/0.7975, allocations: 0.7948 MB / 0.8249 GB, free: 400 kB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.071e-05/0.7975, allocations: 59.84 kB / 0.8249 GB, free: 328 kB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008565/0.7984, allocations: 0.7471 MB / 0.8257 GB, free: 15.56 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 4.973e-05/0.7984, allocations: 41.7 kB / 0.8257 GB, free: 15.52 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003377/0.7988, allocations: 0.5026 MB / 0.8262 GB, free: 15 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001406/0.7989, allocations: 177.5 kB / 0.8264 GB, free: 14.83 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001893/0.7991, allocations: 146.5 kB / 0.8265 GB, free: 14.68 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001113/0.7992, allocations: 337.9 kB / 0.8268 GB, free: 14.34 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003673/0.7996, allocations: 245.9 kB / 0.8271 GB, free: 14.1 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005813/0.8002, allocations: 0.5507 MB / 0.8276 GB, free: 13.42 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001016/0.8012, allocations: 0.7996 MB / 0.8284 GB, free: 12.51 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.87e-06/0.8013, allocations: 7.875 kB / 0.8284 GB, free: 12.5 MB / 0.6544 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001225/0.8025, allocations: 0.8468 MB / 0.8292 GB, free: 11.65 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.767e-05/0.8025, allocations: 8 kB / 0.8292 GB, free: 11.64 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.224e-05/0.8025, allocations: 8.062 kB / 0.8292 GB, free: 11.63 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.164e-05/0.8026, allocations: 16 kB / 0.8292 GB, free: 11.62 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005411/0.8031, allocations: 155.8 kB / 0.8294 GB, free: 11.46 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.916e-05/0.8031, allocations: 20.55 kB / 0.8294 GB, free: 11.45 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007155/0.8039, allocations: 87.05 kB / 0.8295 GB, free: 11.36 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.762e-05/0.8039, allocations: 39.94 kB / 0.8295 GB, free: 11.32 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.0004192/0.8043, allocations: 329.5 kB / 0.8298 GB, free: 10.99 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001338/0.8045, allocations: 90.97 kB / 0.8299 GB, free: 10.9 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009729/0.8055, allocations: 0.6179 MB / 0.8305 GB, free: 10.28 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.451e-06/0.8055, allocations: 4 kB / 0.8305 GB, free: 10.27 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.8055, allocations: 0 / 0.8305 GB, free: 10.27 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006935/0.8062, allocations: 0.5251 MB / 0.831 GB, free: 9.734 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00226/0.8085, allocations: 1.671 MB / 0.8327 GB, free: 7.988 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.411e-06/0.8085, allocations: 3.938 kB / 0.8327 GB, free: 7.984 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005309/0.809, allocations: 111.9 kB / 0.8328 GB, free: 7.875 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.663e-06/0.809, allocations: 4 kB / 0.8328 GB, free: 7.871 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.654e-05/0.8091, allocations: 16.22 kB / 0.8328 GB, free: 7.855 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.122e-06/0.8091, allocations: 7.984 kB / 0.8328 GB, free: 7.848 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.8091, allocations: 11.88 kB / 0.8328 GB, free: 7.836 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001261/0.8104, allocations: 1.007 MB / 0.8338 GB, free: 6.789 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003013/0.8107, allocations: 227.9 kB / 0.834 GB, free: 6.547 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000107/0.8108, allocations: 11.98 kB / 0.834 GB, free: 6.535 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004547/0.8113, allocations: 12 kB / 0.8341 GB, free: 6.523 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.156e-05/0.8113, allocations: 35.89 kB / 0.8341 GB, free: 6.488 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.423e-05/0.8114, allocations: 20 kB / 0.8341 GB, free: 6.469 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0006174/0.812, allocations: 0.5185 MB / 0.8346 GB, free: 5.953 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.4e-07/0.812, allocations: 0 / 0.8346 GB, free: 5.953 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0008832/0.8129, allocations: 299.2 kB / 0.8349 GB, free: 5.66 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.001942/0.8148, allocations: 1.671 MB / 0.8365 GB, free: 3.965 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001146/0.816, allocations: 0.7117 MB / 0.8372 GB, free: 3.254 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.816, allocations: 2 kB / 0.8372 GB, free: 3.254 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0003532/0.8164, allocations: 279.6 kB / 0.8375 GB, free: 2.98 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001965/0.8183, allocations: 444.6 kB / 0.8379 GB, free: 2.586 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009815/0.8282, allocations: 7.501 MB / 0.8452 GB, free: 10.67 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000732/0.8289, allocations: 1.122 MB / 0.8463 GB, free: 9.52 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001019/0.83, allocations: 271 kB / 0.8466 GB, free: 9.25 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004834/0.8305, allocations: 363.3 kB / 0.8469 GB, free: 8.898 MB / 0.67 GB Notification: Performance of SimCode: time 2.545e-06/0.8305, allocations: 0 / 0.8469 GB, free: 8.898 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3302/1.161, allocations: 22.88 MB / 0.8693 GB, free: 209.5 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.997/9.157, allocations: 13.97 kB / 0.8693 GB, free: 209.5 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)