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.004995/0.004995, allocations: 95.92 kB / 15.73 MB, free: 6.039 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.00162/0.00162, allocations: 198.9 kB / 16.68 MB, free: 5.969 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.42/1.42, allocations: 222.9 MB / 240.4 MB, free: 4.312 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.029/1.029, allocations: 143.3 MB / 433.8 MB, free: 11.44 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001856/0.001856, allocations: 71.81 kB / 0.5953 GB, free: 8.582 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3994/0.4013, allocations: 82.03 MB / 0.6754 GB, free: 1.109 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Sensors.Examples.TraceSubstances): time 0.2316/0.6329, allocations: 195.2 MB / 0.8661 GB, free: 2.359 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.4266/1.06, allocations: 14.34 MB / 0.8801 GB, free: 1.816 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001302/1.061, allocations: 35.72 kB / 0.8801 GB, free: 1.816 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.001476/1.062, allocations: 0.4936 MB / 0.8806 GB, free: 1.816 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.004266/1.067, allocations: 1.896 MB / 0.8824 GB, free: 1.746 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.002282/1.069, allocations: 0.8614 MB / 0.8833 GB, free: 1.73 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.003524/1.073, allocations: 2.572 MB / 0.8858 GB, free: 1.723 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001697/1.074, allocations: 1.111 MB / 0.8869 GB, free: 1.609 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004102/1.078, allocations: 1.613 MB / 0.8885 GB, free: 1.578 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001626/1.08, allocations: 0.9237 MB / 0.8894 GB, free: 1.574 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0002108/1.08, allocations: 108.2 kB / 0.8895 GB, free: 1.574 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002478/1.083, allocations: 1.096 MB / 0.8905 GB, free: 1.562 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0005684/1.083, allocations: 0.4956 MB / 0.891 GB, free: 1.562 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0009008/1.084, allocations: 0.635 MB / 0.8916 GB, free: 1.562 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.002852/1.087, allocations: 1.994 MB / 0.8936 GB, free: 1.441 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 3.798e-06/1.087, allocations: 0.8125 kB / 0.8936 GB, free: 1.441 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.924e-06/1.087, allocations: 0.9375 kB / 0.8936 GB, free: 1.441 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 2.173e-05/1.087, allocations: 0.7812 kB / 0.8936 GB, free: 1.441 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.002288/1.089, allocations: 1.489 MB / 0.895 GB, free: 16.64 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 3.488e-05/1.089, allocations: 8.156 kB / 0.895 GB, free: 16.64 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001458/1.09, allocations: 147.8 kB / 0.8952 GB, free: 16.6 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001252/1.091, allocations: 261.1 kB / 0.8954 GB, free: 16.53 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001145/1.092, allocations: 0.7935 MB / 0.8962 GB, free: 16.21 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.778e-05/1.092, allocations: 69.75 kB / 0.8963 GB, free: 16.21 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00012/1.092, allocations: 98.02 kB / 0.8964 GB, free: 16.21 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001458/1.094, allocations: 1.169 MB / 0.8975 GB, free: 15.98 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.674e-05/1.094, allocations: 8.438 kB / 0.8975 GB, free: 15.98 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.89e-05/1.094, allocations: 37.78 kB / 0.8976 GB, free: 15.98 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.381e-05/1.094, allocations: 33.44 kB / 0.8976 GB, free: 15.98 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001124/1.095, allocations: 0.9033 MB / 0.8985 GB, free: 15.97 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.005184/1.1, allocations: 5.762 MB / 0.9041 GB, free: 12.2 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006952/1.101, allocations: 0.5317 MB / 0.9046 GB, free: 12.17 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003322/1.101, allocations: 317 kB / 0.9049 GB, free: 12.16 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005677/1.102, allocations: 314.1 kB / 0.9052 GB, free: 11.88 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.105e-05/1.102, allocations: 42.75 kB / 0.9053 GB, free: 11.84 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=49): time 2.074e-06/1.102, allocations: 1 kB / 0.9053 GB, free: 11.84 MB / 0.7012 GB Notification: Performance of matching and sorting (n=49): time 0.00133/1.103, allocations: 0.8008 MB / 0.906 GB, free: 11.75 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.717e-05/1.103, allocations: 57.41 kB / 0.9061 GB, free: 11.69 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007462/1.104, allocations: 0.7522 MB / 0.9068 GB, free: 11.55 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 5.069e-05/1.104, allocations: 42.89 kB / 0.9069 GB, free: 11.52 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003472/1.104, allocations: 0.5175 MB / 0.9074 GB, free: 11.27 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001659/1.105, allocations: 184 kB / 0.9076 GB, free: 11.15 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002016/1.105, allocations: 144.6 kB / 0.9077 GB, free: 11.12 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001343/1.105, allocations: 333.4 kB / 0.908 GB, free: 10.82 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000301/1.105, allocations: 248.4 kB / 0.9082 GB, free: 10.82 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005647/1.106, allocations: 0.5546 MB / 0.9088 GB, free: 10.47 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008573/1.107, allocations: 0.8014 MB / 0.9096 GB, free: 10.18 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.769e-06/1.107, allocations: 7 kB / 0.9096 GB, free: 10.18 MB / 0.7012 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001082/1.108, allocations: 0.8494 MB / 0.9104 GB, free: 10.09 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.292e-05/1.108, allocations: 8.656 kB / 0.9104 GB, free: 10.09 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.487e-05/1.108, allocations: 7.656 kB / 0.9104 GB, free: 10.09 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.448e-05/1.108, allocations: 12.25 kB / 0.9104 GB, free: 10.09 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005309/1.108, allocations: 154.2 kB / 0.9106 GB, free: 10.09 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.568e-05/1.108, allocations: 23.28 kB / 0.9106 GB, free: 10.09 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008129/1.109, allocations: 93.27 kB / 0.9107 GB, free: 10.04 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.839e-05/1.109, allocations: 34.28 kB / 0.9107 GB, free: 10.04 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.0004565/1.11, allocations: 339.6 kB / 0.911 GB, free: 9.914 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001414/1.11, allocations: 89.72 kB / 0.9111 GB, free: 9.867 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008971/1.111, allocations: 0.6166 MB / 0.9117 GB, free: 9.809 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.893e-06/1.111, allocations: 6.594 kB / 0.9117 GB, free: 9.809 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/1.111, allocations: 1.422 kB / 0.9117 GB, free: 9.809 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006136/1.111, allocations: 0.5157 MB / 0.9122 GB, free: 9.738 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002036/1.113, allocations: 1.678 MB / 0.9139 GB, free: 9.355 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/1.113, allocations: 4.156 kB / 0.9139 GB, free: 9.355 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004663/1.114, allocations: 108.9 kB / 0.914 GB, free: 9.355 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.22e-06/1.114, allocations: 4.906 kB / 0.914 GB, free: 9.355 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.759e-05/1.114, allocations: 16.95 kB / 0.914 GB, free: 9.352 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.482e-06/1.114, allocations: 9.375 kB / 0.914 GB, free: 9.352 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.819e-06/1.114, allocations: 8.844 kB / 0.914 GB, free: 9.348 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001123/1.115, allocations: 1.019 MB / 0.915 GB, free: 9.098 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002771/1.115, allocations: 227.2 kB / 0.9152 GB, free: 8.953 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001014/1.116, allocations: 19.08 kB / 0.9153 GB, free: 8.949 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004267/1.116, allocations: 16.09 kB / 0.9153 GB, free: 8.949 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.504e-05/1.116, allocations: 36.23 kB / 0.9153 GB, free: 8.949 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.325e-05/1.116, allocations: 19.31 kB / 0.9153 GB, free: 8.949 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0005284/1.117, allocations: 0.5085 MB / 0.9158 GB, free: 8.859 MB / 0.7012 GB Notification: Performance of sort global known variables: time 2.61e-07/1.117, allocations: 0.9688 kB / 0.9158 GB, free: 8.859 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.0008266/1.117, allocations: 302.8 kB / 0.9161 GB, free: 8.82 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.001809/1.119, allocations: 1.685 MB / 0.9178 GB, free: 8.012 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.0007999/1.12, allocations: 0.6045 MB / 0.9184 GB, free: 8.008 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/1.12, allocations: 3.188 kB / 0.9184 GB, free: 8.008 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0003395/1.12, allocations: 279.1 kB / 0.9186 GB, free: 8.004 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00178/1.122, allocations: 435.5 kB / 0.919 GB, free: 7.945 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008426/1.131, allocations: 7.234 MB / 0.9261 GB, free: 5.238 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006747/1.131, allocations: 1.117 MB / 0.9272 GB, free: 4.527 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.0007189/1.132, allocations: 270.3 kB / 0.9274 GB, free: 4.48 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003872/1.133, allocations: 365 kB / 0.9278 GB, free: 4.473 MB / 0.7012 GB Notification: Performance of SimCode: time 5.51e-07/1.133, allocations: 0 / 0.9278 GB, free: 4.473 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04792/1.18, allocations: 23.14 MB / 0.9504 GB, free: 10.12 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.758/10.94, allocations: 10.78 kB / 0.9504 GB, free: 10.11 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)