Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.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.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance",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.005915/0.005915, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.001508/0.001508, allocations: 200.1 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.391/1.391, 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.023/1.023, allocations: 143.3 MB / 433.8 MB, free: 11.57 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001899/0.001899, allocations: 67.89 kB / 0.5953 GB, free: 8.613 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.338/0.3399, allocations: 82.02 MB / 0.6754 GB, free: 0.9414 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.202/0.5419, allocations: 187.4 MB / 0.8584 GB, free: 10.14 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.345/0.887, allocations: 13.08 MB / 0.8712 GB, free: 1.906 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009573/0.888, allocations: 31.41 kB / 0.8712 GB, free: 1.906 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.001114/0.8891, allocations: 427.5 kB / 0.8716 GB, free: 1.906 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.002351/0.8915, allocations: 1.156 MB / 0.8728 GB, free: 1.906 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.001551/0.893, allocations: 0.7101 MB / 0.8735 GB, free: 1.906 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.002672/0.8957, allocations: 2.019 MB / 0.8754 GB, free: 1.906 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00115/0.8969, allocations: 0.8425 MB / 0.8763 GB, free: 1.801 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003653/0.9005, allocations: 1.819 MB / 0.878 GB, free: 1.762 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001459/0.902, allocations: 0.6653 MB / 0.8787 GB, free: 1.758 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0001795/0.9022, allocations: 80.5 kB / 0.8788 GB, free: 1.758 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001664/0.9039, allocations: 0.8684 MB / 0.8796 GB, free: 1.75 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0004224/0.9043, allocations: 385 kB / 0.88 GB, free: 1.75 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0006384/0.905, allocations: 0.497 MB / 0.8805 GB, free: 1.75 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.002107/0.9071, allocations: 1.561 MB / 0.882 GB, free: 1.656 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.9071, allocations: 0.5312 kB / 0.882 GB, free: 1.656 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.382e-06/0.9071, allocations: 0 / 0.882 GB, free: 1.656 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 1.734e-05/0.9071, allocations: 1.562 kB / 0.882 GB, free: 1.656 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: 186 * Number of variables: 186 Notification: Performance of Generate backend data structure: time 0.001837/0.909, allocations: 1.264 MB / 0.8832 GB, free: 16.93 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 3.553e-05/0.909, allocations: 10.47 kB / 0.8832 GB, free: 16.93 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001313/0.9091, allocations: 130.5 kB / 0.8833 GB, free: 16.89 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001224/0.9104, allocations: 215 kB / 0.8836 GB, free: 16.84 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00102/0.9114, allocations: 0.6864 MB / 0.8842 GB, free: 16.54 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.061e-05/0.9115, allocations: 57.88 kB / 0.8843 GB, free: 16.54 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001157/0.9116, allocations: 79.02 kB / 0.8844 GB, free: 16.54 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001237/0.9128, allocations: 0.9392 MB / 0.8853 GB, free: 16.28 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.371e-05/0.9129, allocations: 1.844 kB / 0.8853 GB, free: 16.28 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.824e-05/0.9129, allocations: 36.44 kB / 0.8853 GB, free: 16.28 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.241e-05/0.913, allocations: 30.45 kB / 0.8853 GB, free: 16.27 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009237/0.9139, allocations: 0.6157 MB / 0.8859 GB, free: 16.27 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.004328/0.9182, allocations: 4.6 MB / 0.8904 GB, free: 13.11 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007805/0.919, allocations: 0.5409 MB / 0.891 GB, free: 12.94 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003288/0.9194, allocations: 247.2 kB / 0.8912 GB, free: 12.92 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000189/0.9196, allocations: 103.1 kB / 0.8913 GB, free: 12.82 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.115e-05/0.9196, allocations: 42.88 kB / 0.8913 GB, free: 12.79 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=43): time 2.465e-06/0.9196, allocations: 0 / 0.8913 GB, free: 12.79 MB / 0.7012 GB Notification: Performance of matching and sorting (n=45): time 0.002778/0.9224, allocations: 1.612 MB / 0.8929 GB, free: 12.15 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.402e-05/0.9225, allocations: 114.9 kB / 0.893 GB, free: 12.02 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000829/0.9233, allocations: 0.7123 MB / 0.8937 GB, free: 11.89 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 4.739e-05/0.9234, allocations: 37.95 kB / 0.8938 GB, free: 11.86 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.000294/0.9237, allocations: 423.2 kB / 0.8942 GB, free: 11.66 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001585/0.9239, allocations: 175.4 kB / 0.8943 GB, free: 11.55 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00016/0.924, allocations: 116.5 kB / 0.8944 GB, free: 11.54 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001939/0.9242, allocations: 334.3 kB / 0.8948 GB, free: 11.23 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002473/0.9245, allocations: 185.2 kB / 0.8949 GB, free: 11.23 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004312/0.9249, allocations: 419 kB / 0.8953 GB, free: 10.98 MB / 0.7012 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: vol.dynBal.medium.p = vol.dynBal.p_start (sin.p = vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.002046/0.927, allocations: 1.184 MB / 0.8965 GB, free: 10.64 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.927, allocations: 0.9062 kB / 0.8965 GB, free: 10.64 MB / 0.7012 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0008407/0.9278, allocations: 0.6789 MB / 0.8971 GB, free: 10.56 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.658e-05/0.9279, allocations: 11.36 kB / 0.8972 GB, free: 10.56 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.935e-06/0.9279, allocations: 6.281 kB / 0.8972 GB, free: 10.56 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.182e-05/0.9279, allocations: 18.38 kB / 0.8972 GB, free: 10.55 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000392/0.9283, allocations: 123.2 kB / 0.8973 GB, free: 10.55 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.408e-05/0.9283, allocations: 16.23 kB / 0.8973 GB, free: 10.55 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005106/0.9288, allocations: 28.92 kB / 0.8973 GB, free: 10.55 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.352e-05/0.9289, allocations: 28.84 kB / 0.8974 GB, free: 10.55 MB / 0.7012 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: vol.dynBal.medium.p = vol.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 2 (intTraSubOut.local_reset,intTraSubIn.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (74): * Single equations (assignments): 74 * 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.0003132/0.9292, allocations: 280.3 kB / 0.8976 GB, free: 10.43 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001506/0.9294, allocations: 84.05 kB / 0.8977 GB, free: 10.39 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001546/0.9295, allocations: 92.31 kB / 0.8978 GB, free: 10.38 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.869e-06/0.9295, allocations: 7.25 kB / 0.8978 GB, free: 10.38 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.035e-06/0.9295, allocations: 1.203 kB / 0.8978 GB, free: 10.38 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007114/0.9303, allocations: 0.698 MB / 0.8985 GB, free: 9.934 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00204/0.9323, allocations: 1.642 MB / 0.9001 GB, free: 9.344 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.368e-06/0.9323, allocations: 2 kB / 0.9001 GB, free: 9.344 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004006/0.9327, allocations: 103.2 kB / 0.9002 GB, free: 9.344 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.922e-06/0.9327, allocations: 6.031 kB / 0.9002 GB, free: 9.344 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.327e-05/0.9328, allocations: 19.34 kB / 0.9002 GB, free: 9.34 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.284e-06/0.9328, allocations: 12.66 kB / 0.9002 GB, free: 9.336 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.1e-06/0.9328, allocations: 6.672 kB / 0.9002 GB, free: 9.336 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009007/0.9337, allocations: 0.8648 MB / 0.9011 GB, free: 9.027 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000267/0.934, allocations: 212.7 kB / 0.9013 GB, free: 8.887 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.483e-05/0.9341, allocations: 18.28 kB / 0.9013 GB, free: 8.883 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004012/0.9345, allocations: 18.05 kB / 0.9013 GB, free: 8.883 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.611e-05/0.9346, allocations: 38.38 kB / 0.9014 GB, free: 8.879 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.998e-05/0.9346, allocations: 25.25 kB / 0.9014 GB, free: 8.879 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0004739/0.9351, allocations: 0.5088 MB / 0.9019 GB, free: 8.785 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9351, allocations: 0 / 0.9019 GB, free: 8.785 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.0006304/0.9357, allocations: 200.4 kB / 0.9021 GB, free: 8.785 MB / 0.7012 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 5 (vol.dynBal.medium.Xi[1],vol.dynBal.U,vol.dynBal.mC[1],intTraSubIn.y,intTraSubOut.y) * 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 (45): * Single equations (assignments): 45 * 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.001518/0.9372, allocations: 1.513 MB / 0.9035 GB, free: 7.922 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.000636/0.9379, allocations: 487.2 kB / 0.904 GB, free: 7.914 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.9379, allocations: 0 / 0.904 GB, free: 7.914 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0002235/0.9381, allocations: 211 kB / 0.9042 GB, free: 7.914 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001848/0.94, allocations: 478.8 kB / 0.9047 GB, free: 7.844 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006868/0.9469, allocations: 6.639 MB / 0.9112 GB, free: 5.297 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005487/0.9474, allocations: 1.03 MB / 0.9122 GB, free: 4.586 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.0005242/0.948, allocations: 205.5 kB / 0.9124 GB, free: 4.543 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002946/0.9483, allocations: 293.6 kB / 0.9126 GB, free: 4.535 MB / 0.7012 GB Notification: Performance of SimCode: time 4.21e-07/0.9483, allocations: 0 / 0.9126 GB, free: 4.535 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3987/1.347, allocations: 22.27 MB / 0.9344 GB, free: 15.42 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.66/11.01, allocations: 11.44 kB / 0.9344 GB, free: 15.41 MB / 0.7169 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-08 BuildSysPro_BuildSysPro_IBPSA_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe 2>&1)