Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.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.MixingVolumeMoistureReverseFlow,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlow",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.007823/0.007823, allocations: 100.5 kB / 15.73 MB, free: 6.012 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.00194/0.00194, allocations: 190.1 kB / 16.67 MB, free: 5.934 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.475/1.475, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.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 0.9091/0.9091, allocations: 143.3 MB / 433.9 MB, free: 11.86 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001818/0.001818, allocations: 67.83 kB / 0.5953 GB, free: 12.61 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1404/0.1422, allocations: 82.04 MB / 0.6754 GB, free: 10.61 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow): time 0.5391/0.6814, allocations: 221.3 MB / 0.8915 GB, free: 412 kB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.009311/0.6907, allocations: 5.733 MB / 0.8971 GB, free: 10.66 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009622/0.6917, allocations: 43.75 kB / 0.8972 GB, free: 10.61 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.001382/0.6932, allocations: 0.5786 MB / 0.8977 GB, free: 10.03 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.003962/0.6971, allocations: 1.847 MB / 0.8995 GB, free: 8.176 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.002677/0.6998, allocations: 1.189 MB / 0.9007 GB, free: 6.996 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.003425/0.7033, allocations: 2.958 MB / 0.9036 GB, free: 4.035 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001302/0.7046, allocations: 1.022 MB / 0.9046 GB, free: 2.992 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001539/0.7061, allocations: 1.064 MB / 0.9056 GB, free: 1.926 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001829/0.708, allocations: 0.9417 MB / 0.9065 GB, free: 0.9961 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0001855/0.7082, allocations: 112 kB / 0.9066 GB, free: 0.8867 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00265/0.7108, allocations: 1.43 MB / 0.908 GB, free: 15.45 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0004823/0.7113, allocations: 458.8 kB / 0.9085 GB, free: 15 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0007325/0.7121, allocations: 0.6534 MB / 0.9091 GB, free: 14.35 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.002802/0.7149, allocations: 2.215 MB / 0.9113 GB, free: 12.12 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.7149, allocations: 3.938 kB / 0.9113 GB, free: 12.12 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.263e-06/0.7149, allocations: 0 / 0.9113 GB, free: 12.12 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 1.451e-05/0.7149, allocations: 3.984 kB / 0.9113 GB, free: 12.12 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: 215 * Number of variables: 215 Notification: Performance of Generate backend data structure: time 0.002406/0.7173, allocations: 1.541 MB / 0.9128 GB, free: 10.52 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.455e-05/0.7174, allocations: 12.03 kB / 0.9128 GB, free: 10.51 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001776/0.7176, allocations: 135.3 kB / 0.9129 GB, free: 10.37 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001923/0.7195, allocations: 330.9 kB / 0.9132 GB, free: 10.04 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001353/0.7209, allocations: 0.8676 MB / 0.9141 GB, free: 9.133 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.771e-05/0.7209, allocations: 66 kB / 0.9142 GB, free: 9.07 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001247/0.7211, allocations: 80 kB / 0.9142 GB, free: 8.992 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001574/0.7226, allocations: 0.9092 MB / 0.9151 GB, free: 8.078 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.289e-05/0.7227, allocations: 0 / 0.9151 GB, free: 8.078 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.173e-05/0.7228, allocations: 40 kB / 0.9152 GB, free: 8.039 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.531e-05/0.7228, allocations: 45.91 kB / 0.9152 GB, free: 7.992 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001451/0.7243, allocations: 0.8354 MB / 0.916 GB, free: 7.156 MB / 0.6856 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.005207/0.7295, allocations: 3.518 MB / 0.9195 GB, free: 3.418 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008264/0.7303, allocations: 490.3 kB / 0.9199 GB, free: 2.93 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004926/0.7308, allocations: 302.8 kB / 0.9202 GB, free: 2.633 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002053/0.731, allocations: 105.5 kB / 0.9203 GB, free: 2.512 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.654e-05/0.7311, allocations: 42.94 kB / 0.9204 GB, free: 2.461 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=47): time 2.134e-06/0.7311, allocations: 0 / 0.9204 GB, free: 2.461 MB / 0.6856 GB Notification: Performance of matching and sorting (n=49): time 0.003703/0.7348, allocations: 1.893 MB / 0.9222 GB, free: 480 kB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001029/0.7349, allocations: 67.78 kB / 0.9223 GB, free: 400 kB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001035/0.736, allocations: 0.8058 MB / 0.9231 GB, free: 15.58 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 6.251e-05/0.736, allocations: 37.7 kB / 0.9231 GB, free: 15.54 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004117/0.7365, allocations: 488.2 kB / 0.9236 GB, free: 15.05 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001735/0.7366, allocations: 182.4 kB / 0.9237 GB, free: 14.88 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002631/0.7369, allocations: 126.2 kB / 0.9238 GB, free: 14.75 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001618/0.7371, allocations: 322 kB / 0.9242 GB, free: 14.43 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004743/0.7376, allocations: 249.2 kB / 0.9244 GB, free: 14.18 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005782/0.7381, allocations: 380.7 kB / 0.9248 GB, free: 13.76 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: volDyn.dynBal.medium.p = volDyn.dynBal.p_start (bou.p = volDyn.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.003799/0.742, allocations: 1.539 MB / 0.9263 GB, free: 12.16 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.799e-06/0.742, allocations: 4 kB / 0.9263 GB, free: 12.16 MB / 0.7012 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001402/0.7434, allocations: 0.8008 MB / 0.927 GB, free: 11.34 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.671e-05/0.7434, allocations: 8 kB / 0.9271 GB, free: 11.34 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.695e-06/0.7434, allocations: 4 kB / 0.9271 GB, free: 11.33 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001617/0.7436, allocations: 65.62 kB / 0.9271 GB, free: 11.26 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006681/0.7443, allocations: 147.8 kB / 0.9273 GB, free: 11.12 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002813/0.7471, allocations: 3.117 MB / 0.9303 GB, free: 7.719 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007739/0.7479, allocations: 36.7 kB / 0.9303 GB, free: 7.688 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.172e-05/0.7479, allocations: 23.98 kB / 0.9304 GB, free: 7.664 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: volDyn.dynBal.medium.p = volDyn.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (71): * Single equations (assignments): 69 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0005027/0.7484, allocations: 317.6 kB / 0.9307 GB, free: 7.344 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001487/0.7486, allocations: 95.44 kB / 0.9308 GB, free: 7.25 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001885/0.7488, allocations: 96.73 kB / 0.9308 GB, free: 7.152 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.131e-06/0.7488, allocations: 7.984 kB / 0.9309 GB, free: 7.145 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.129e-06/0.7488, allocations: 0 / 0.9309 GB, free: 7.145 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001124/0.7499, allocations: 0.831 MB / 0.9317 GB, free: 6.227 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002866/0.7528, allocations: 1.796 MB / 0.9334 GB, free: 4.332 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.011e-06/0.7528, allocations: 4 kB / 0.9334 GB, free: 4.328 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000619/0.7535, allocations: 128.3 kB / 0.9335 GB, free: 4.203 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001072/0.7536, allocations: 44.77 kB / 0.9336 GB, free: 4.156 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.631e-05/0.7536, allocations: 12 kB / 0.9336 GB, free: 4.145 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001391/0.755, allocations: 1.602 MB / 0.9352 GB, free: 2.398 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.755, allocations: 0 / 0.9352 GB, free: 2.398 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00159/0.7566, allocations: 1.074 MB / 0.9362 GB, free: 1.266 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003407/0.757, allocations: 240.5 kB / 0.9364 GB, free: 1.012 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001058/0.7571, allocations: 15.98 kB / 0.9365 GB, free: 0.9961 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006426/0.7577, allocations: 38.05 kB / 0.9365 GB, free: 0.9609 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001116/0.7579, allocations: 51.75 kB / 0.9365 GB, free: 0.9102 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.181e-05/0.7579, allocations: 27.98 kB / 0.9366 GB, free: 0.8828 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0007106/0.7587, allocations: 0.5654 MB / 0.9371 GB, free: 332 kB / 0.7012 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7587, allocations: 0 / 0.9371 GB, free: 332 kB / 0.7012 GB Notification: Performance of remove unused functions: time 0.0007826/0.7594, allocations: 271.9 kB / 0.9374 GB, free: 60 kB / 0.7012 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 2 (volDyn.dynBal.medium.Xi[1],volDyn.dynBal.U) * 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 (47): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002226/0.7617, allocations: 1.708 MB / 0.9391 GB, free: 14.29 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.001297/0.763, allocations: 0.8 MB / 0.9398 GB, free: 13.46 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.763, allocations: 0 / 0.9398 GB, free: 13.46 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0005926/0.7636, allocations: 423.7 kB / 0.9402 GB, free: 13.04 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002565/0.7662, allocations: 0.5984 MB / 0.9408 GB, free: 12.46 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009735/0.7759, allocations: 7.02 MB / 0.9477 GB, free: 5.133 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008056/0.7767, allocations: 1.091 MB / 0.9487 GB, free: 4.012 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0007339/0.7775, allocations: 223.6 kB / 0.949 GB, free: 3.789 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004825/0.778, allocations: 343.3 kB / 0.9493 GB, free: 3.453 MB / 0.7169 GB Notification: Performance of SimCode: time 5.21e-07/0.778, allocations: 0 / 0.9493 GB, free: 3.453 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09787/0.8759, allocations: 27.48 MB / 0.9761 GB, free: 8.492 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.99/13.87, allocations: 5.422 kB / 0.9761 GB, free: 8.492 MB / 0.7481 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.sim & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 BuildSysPro_BuildSysPro_IBPSA_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlow.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe 2>&1)