Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001766/0.001766, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002381/0.002381, allocations: 210.5 kB / 22.24 MB, free: 5.262 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.469/1.469, allocations: 230.6 MB / 256 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.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.7.0/package.mo): time 0.9246/0.9246, allocations: 145 MB / 457.4 MB, free: 15.28 MB / 366.1 MB " [Timeout remaining time 179] Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: BuildSysPro requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00314/0.00314, allocations: 66.38 kB / 0.6331 GB, free: 6.668 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1649/0.168, allocations: 87.89 MB / 0.7189 GB, free: 14.8 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate): time 0.5403/0.7083, allocations: 168.5 MB / 0.8835 GB, free: 2.531 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.01029/0.7186, allocations: 5.407 MB / 0.8888 GB, free: 13.11 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001264/0.7199, allocations: 51.56 kB / 0.8888 GB, free: 13.06 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.001807/0.7217, allocations: 0.5513 MB / 0.8894 GB, free: 12.51 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.005128/0.7268, allocations: 1.68 MB / 0.891 GB, free: 10.82 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.003865/0.7307, allocations: 1.229 MB / 0.8922 GB, free: 9.602 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.004092/0.7348, allocations: 2.607 MB / 0.8947 GB, free: 6.992 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001604/0.7364, allocations: 0.7397 MB / 0.8955 GB, free: 6.234 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002829/0.7392, allocations: 1.125 MB / 0.8966 GB, free: 5.105 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002595/0.7418, allocations: 0.8777 MB / 0.8974 GB, free: 4.234 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0003909/0.7422, allocations: 108 kB / 0.8975 GB, free: 4.129 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00375/0.7459, allocations: 1.298 MB / 0.8988 GB, free: 2.828 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.001045/0.747, allocations: 0.5025 MB / 0.8993 GB, free: 2.324 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.001754/0.7487, allocations: 0.5369 MB / 0.8998 GB, free: 1.785 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.005208/0.754, allocations: 2.227 MB / 0.902 GB, free: 15.55 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 7.103e-06/0.754, allocations: 0 / 0.902 GB, free: 15.55 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.994e-06/0.754, allocations: 0 / 0.902 GB, free: 15.55 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 8.04e-05/0.754, allocations: 0 / 0.902 GB, free: 15.55 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: 216 * Number of variables: 216 Notification: Performance of Generate backend data structure: time 0.003693/0.7577, allocations: 1.477 MB / 0.9034 GB, free: 14.04 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.176e-05/0.7578, allocations: 12.03 kB / 0.9034 GB, free: 14.02 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002395/0.758, allocations: 135.3 kB / 0.9036 GB, free: 13.88 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003065/0.7611, allocations: 482.7 kB / 0.904 GB, free: 13.41 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001868/0.7629, allocations: 0.7838 MB / 0.9048 GB, free: 12.6 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.823e-05/0.763, allocations: 70 kB / 0.9049 GB, free: 12.54 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001565/0.7632, allocations: 87.98 kB / 0.9049 GB, free: 12.45 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002589/0.7658, allocations: 1.551 MB / 0.9065 GB, free: 10.78 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.751e-05/0.7658, allocations: 0 / 0.9065 GB, free: 10.78 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001031/0.7659, allocations: 36 kB / 0.9065 GB, free: 10.75 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.272e-05/0.7659, allocations: 41.98 kB / 0.9065 GB, free: 10.71 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002495/0.7684, allocations: 1.062 MB / 0.9076 GB, free: 9.641 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.007234/0.7757, allocations: 3.316 MB / 0.9108 GB, free: 6.23 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002024/0.7777, allocations: 0.7209 MB / 0.9115 GB, free: 5.5 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009576/0.7787, allocations: 391.3 kB / 0.9119 GB, free: 5.117 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001481/0.7788, allocations: 19.98 kB / 0.9119 GB, free: 5.098 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.886e-05/0.7789, allocations: 42.56 kB / 0.9119 GB, free: 5.047 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=43): time 2.174e-06/0.7789, allocations: 0 / 0.9119 GB, free: 5.047 MB / 0.6856 GB Notification: Performance of matching and sorting (n=45): time 0.006205/0.7851, allocations: 2.116 MB / 0.914 GB, free: 2.898 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.42e-05/0.7851, allocations: 59.34 kB / 0.9141 GB, free: 2.828 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001366/0.7865, allocations: 0.8763 MB / 0.9149 GB, free: 1.945 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0001002/0.7866, allocations: 37.7 kB / 0.915 GB, free: 1.902 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004592/0.7871, allocations: 0.4962 MB / 0.9154 GB, free: 1.398 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002048/0.7873, allocations: 182.5 kB / 0.9156 GB, free: 1.219 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002395/0.7875, allocations: 118.3 kB / 0.9157 GB, free: 1.098 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001649/0.7877, allocations: 334 kB / 0.916 GB, free: 0.7656 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009936/0.7887, allocations: 361 kB / 0.9164 GB, free: 424 kB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001164/0.7898, allocations: 0.5534 MB / 0.9169 GB, free: 15.8 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.006386/0.7962, allocations: 2.196 MB / 0.9191 GB, free: 13.56 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.15e-06/0.7962, allocations: 0 / 0.9191 GB, free: 13.56 MB / 0.7012 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.00259/0.7988, allocations: 0.9928 MB / 0.92 GB, free: 12.55 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.323e-05/0.7988, allocations: 8 kB / 0.9201 GB, free: 12.55 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.383e-05/0.7989, allocations: 6.625 kB / 0.9201 GB, free: 12.54 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.525e-05/0.7989, allocations: 4 kB / 0.9201 GB, free: 12.54 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009533/0.7998, allocations: 195.7 kB / 0.9202 GB, free: 12.35 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.772e-05/0.7999, allocations: 8 kB / 0.9203 GB, free: 12.34 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001096/0.8009, allocations: 63.88 kB / 0.9203 GB, free: 12.28 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.237e-05/0.801, allocations: 35.92 kB / 0.9204 GB, free: 12.24 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: 17 * 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 (73): * Single equations (assignments): 73 * 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.0005977/0.8016, allocations: 314.6 kB / 0.9207 GB, free: 11.93 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002713/0.8019, allocations: 99.39 kB / 0.9207 GB, free: 11.83 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00027/0.8022, allocations: 100.8 kB / 0.9208 GB, free: 11.73 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.175e-05/0.8022, allocations: 11.94 kB / 0.9209 GB, free: 11.71 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.304e-06/0.8022, allocations: 0 / 0.9209 GB, free: 11.71 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002155/0.8043, allocations: 1.03 MB / 0.9219 GB, free: 10.6 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00533/0.8097, allocations: 1.968 MB / 0.9238 GB, free: 8.539 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.16e-05/0.8097, allocations: 4 kB / 0.9238 GB, free: 8.535 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009352/0.8106, allocations: 160.2 kB / 0.9239 GB, free: 8.379 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-05/0.8106, allocations: 8 kB / 0.9239 GB, free: 8.371 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.459e-05/0.8107, allocations: 19.98 kB / 0.924 GB, free: 8.352 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.999e-06/0.8107, allocations: 4 kB / 0.924 GB, free: 8.348 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.796e-06/0.8107, allocations: 11.88 kB / 0.924 GB, free: 8.336 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003568/0.8143, allocations: 1.415 MB / 0.9254 GB, free: 6.867 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008228/0.8151, allocations: 179.3 kB / 0.9255 GB, free: 6.691 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003072/0.8154, allocations: 20.86 kB / 0.9256 GB, free: 6.672 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001073/0.8165, allocations: 63.88 kB / 0.9256 GB, free: 6.609 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001059/0.8166, allocations: 47.81 kB / 0.9257 GB, free: 6.562 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001084/0.8167, allocations: 31.97 kB / 0.9257 GB, free: 6.531 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0009492/0.8176, allocations: 0.6005 MB / 0.9263 GB, free: 5.934 MB / 0.7012 GB Notification: Performance of sort global known variables: time 8e-08/0.8176, allocations: 0 / 0.9263 GB, free: 5.934 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.001053/0.8187, allocations: 267.9 kB / 0.9265 GB, free: 5.672 MB / 0.7012 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 3 (volDyn.dynBal.medium.Xi[1],volDyn.dynBal.U,volDyn.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 (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.004048/0.8227, allocations: 2.055 MB / 0.9285 GB, free: 3.551 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.002249/0.825, allocations: 0.7917 MB / 0.9293 GB, free: 2.762 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 9.758e-06/0.825, allocations: 7.938 kB / 0.9293 GB, free: 2.754 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0009891/0.826, allocations: 376.7 kB / 0.9297 GB, free: 2.387 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002974/0.829, allocations: 0.5908 MB / 0.9303 GB, free: 1.809 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01664/0.8456, allocations: 8.204 MB / 0.9383 GB, free: 9.285 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006998/0.8463, allocations: 0.5161 MB / 0.9388 GB, free: 8.738 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.001053/0.8474, allocations: 255.8 kB / 0.939 GB, free: 8.484 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006606/0.848, allocations: 351.3 kB / 0.9394 GB, free: 8.145 MB / 0.7169 GB Notification: Performance of SimCode: time 1.773e-06/0.848, allocations: 3.938 kB / 0.9394 GB, free: 8.141 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07535/0.9234, allocations: 31.91 MB / 0.9705 GB, free: 8.879 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.43/13.35, allocations: 8.062 kB / 0.9705 GB, free: 8.871 MB / 0.7481 GB " [Timeout remaining time 647] (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.sim & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate_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_MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 17.24053035862744] Failed to read output from testmodel.py, exit status != 0: 13.477744127158076 13.494244045 12.736678368 Calling exit ...