Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.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.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlowPrescribedHeatFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlowPrescribedHeatFlowRate",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.007403/0.007403, allocations: 102 kB / 15.73 MB, free: 6.484 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.00171/0.00171, allocations: 190.1 kB / 16.67 MB, free: 6.379 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.341/1.341, allocations: 222.9 MB / 240.4 MB, free: 4.305 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 1.013/1.013, allocations: 143 MB / 433.6 MB, free: 11.54 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001422/0.001422, allocations: 63.91 kB / 0.5951 GB, free: 8.824 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4601/0.4615, allocations: 82.02 MB / 0.6752 GB, free: 1.129 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate): time 0.2295/0.691, allocations: 190.7 MB / 0.8614 GB, free: 6.984 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.01049/0.7016, allocations: 5.753 MB / 0.867 GB, free: 1.219 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001765/0.7034, allocations: 39.81 kB / 0.8671 GB, free: 1.18 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.001844/0.7052, allocations: 0.5785 MB / 0.8676 GB, free: 0.5977 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.5055/1.211, allocations: 1.612 MB / 0.8692 GB, free: 2.59 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.003304/1.214, allocations: 1.211 MB / 0.8704 GB, free: 2.586 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.004106/1.218, allocations: 2.56 MB / 0.8729 GB, free: 2.586 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001513/1.22, allocations: 0.8776 MB / 0.8738 GB, free: 2.508 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002627/1.222, allocations: 1.06 MB / 0.8748 GB, free: 2.508 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002005/1.224, allocations: 0.8133 MB / 0.8756 GB, free: 2.508 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0002039/1.225, allocations: 96.31 kB / 0.8757 GB, free: 2.508 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0037/1.228, allocations: 1.543 MB / 0.8772 GB, free: 2.508 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0006569/1.229, allocations: 405.9 kB / 0.8776 GB, free: 2.508 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.001206/1.23, allocations: 0.5822 MB / 0.8781 GB, free: 2.508 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.004396/1.235, allocations: 2.084 MB / 0.8802 GB, free: 2.395 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 6.433e-06/1.235, allocations: 0 / 0.8802 GB, free: 2.395 MB / 0.6856 GB Notification: Performance of FrontEnd: time 3.236e-06/1.235, allocations: 1.438 kB / 0.8802 GB, free: 2.395 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 2.368e-05/1.235, allocations: 0 / 0.8802 GB, free: 2.395 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: 187 * Number of variables: 187 Notification: Performance of Generate backend data structure: time 0.003105/1.238, allocations: 1.437 MB / 0.8816 GB, free: 17.63 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 5.097e-05/1.238, allocations: 11.25 kB / 0.8816 GB, free: 17.63 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001721/1.238, allocations: 129.4 kB / 0.8817 GB, free: 17.59 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002765/1.241, allocations: 413.7 kB / 0.8821 GB, free: 17.53 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001545/1.242, allocations: 0.8018 MB / 0.8829 GB, free: 17.22 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.658e-05/1.242, allocations: 57.47 kB / 0.8829 GB, free: 17.22 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001287/1.243, allocations: 80.03 kB / 0.883 GB, free: 17.21 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00177/1.244, allocations: 0.9846 MB / 0.884 GB, free: 17.12 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.934e-05/1.244, allocations: 0.7188 kB / 0.884 GB, free: 17.12 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.85e-05/1.245, allocations: 33.75 kB / 0.884 GB, free: 17.12 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.697e-05/1.245, allocations: 31.23 kB / 0.884 GB, free: 17.12 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001863/1.246, allocations: 0.8718 MB / 0.8849 GB, free: 17.11 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.005726/1.252, allocations: 3.478 MB / 0.8883 GB, free: 15.82 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001403/1.254, allocations: 0.6057 MB / 0.8889 GB, free: 15.8 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006563/1.254, allocations: 334 kB / 0.8892 GB, free: 15.79 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001697/1.254, allocations: 99.7 kB / 0.8893 GB, free: 15.7 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.577e-05/1.254, allocations: 46.2 kB / 0.8893 GB, free: 15.66 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=39): time 1.934e-06/1.254, allocations: 1.031 kB / 0.8893 GB, free: 15.66 MB / 0.7012 GB Notification: Performance of matching and sorting (n=41): time 0.00716/1.262, allocations: 2.393 MB / 0.8917 GB, free: 15.11 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.503e-05/1.262, allocations: 58.03 kB / 0.8917 GB, free: 15.05 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008115/1.263, allocations: 0.7892 MB / 0.8925 GB, free: 14.92 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 6.034e-05/1.263, allocations: 35.48 kB / 0.8925 GB, free: 14.89 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.000234/1.263, allocations: 451.9 kB / 0.893 GB, free: 14.69 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001027/1.263, allocations: 152.6 kB / 0.8931 GB, free: 14.6 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001605/1.263, allocations: 101.8 kB / 0.8932 GB, free: 14.58 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001019/1.263, allocations: 329.5 kB / 0.8935 GB, free: 14.27 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006634/1.264, allocations: 304.1 kB / 0.8938 GB, free: 14.27 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000683/1.265, allocations: 410.1 kB / 0.8942 GB, free: 14.18 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.004537/1.269, allocations: 1.873 MB / 0.896 GB, free: 13.96 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.347e-06/1.269, allocations: 1.125 kB / 0.896 GB, free: 13.96 MB / 0.7012 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.002864/1.272, allocations: 1.042 MB / 0.8971 GB, free: 13.86 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.581e-05/1.272, allocations: 4.969 kB / 0.8971 GB, free: 13.86 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.584e-06/1.272, allocations: 4.375 kB / 0.8971 GB, free: 13.86 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005111/1.273, allocations: 191.8 kB / 0.8972 GB, free: 13.85 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006338/1.273, allocations: 139.2 kB / 0.8974 GB, free: 13.85 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003472/1.277, allocations: 2.232 MB / 0.8996 GB, free: 12.49 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009629/1.278, allocations: 54.33 kB / 0.8996 GB, free: 12.49 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.671e-05/1.278, allocations: 20.42 kB / 0.8996 GB, free: 12.49 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: 12 * 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 (59): * Single equations (assignments): 58 * 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,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0004126/1.278, allocations: 277.7 kB / 0.8999 GB, free: 12.37 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001488/1.278, allocations: 90.52 kB / 0.9 GB, free: 12.32 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001574/1.278, allocations: 96.77 kB / 0.9001 GB, free: 12.31 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.815e-06/1.278, allocations: 3.25 kB / 0.9001 GB, free: 12.31 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.638e-06/1.278, allocations: 0.8125 kB / 0.9001 GB, free: 12.31 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002499/1.281, allocations: 0.8954 MB / 0.901 GB, free: 12.14 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004596/1.286, allocations: 2.104 MB / 0.903 GB, free: 11.69 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.61e-06/1.286, allocations: 5.344 kB / 0.903 GB, free: 11.69 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005776/1.286, allocations: 131.1 kB / 0.9031 GB, free: 11.69 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004896/1.287, allocations: 175.1 kB / 0.9033 GB, free: 11.67 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.901e-05/1.287, allocations: 17.34 kB / 0.9033 GB, free: 11.67 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003204/1.29, allocations: 2.193 MB / 0.9055 GB, free: 10.29 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.16e-06/1.29, allocations: 7.375 kB / 0.9055 GB, free: 10.29 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003372/1.293, allocations: 1.419 MB / 0.9069 GB, free: 9.949 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004902/1.294, allocations: 238.5 kB / 0.9071 GB, free: 9.812 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000118/1.294, allocations: 12.12 kB / 0.9071 GB, free: 9.812 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007993/1.295, allocations: 59.81 kB / 0.9072 GB, free: 9.809 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.001e-05/1.295, allocations: 47.88 kB / 0.9072 GB, free: 9.801 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.269e-05/1.295, allocations: 28.11 kB / 0.9072 GB, free: 9.801 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0006469/1.296, allocations: 0.5512 MB / 0.9078 GB, free: 9.707 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.8e-07/1.296, allocations: 0 / 0.9078 GB, free: 9.707 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.001006/1.297, allocations: 272 kB / 0.908 GB, free: 9.703 MB / 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 (37): * Single equations (assignments): 36 * 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,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004143/1.301, allocations: 2.073 MB / 0.91 GB, free: 8.828 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.001829/1.303, allocations: 0.8039 MB / 0.9108 GB, free: 8.695 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 6.913e-06/1.303, allocations: 7.359 kB / 0.9108 GB, free: 8.695 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0008363/1.304, allocations: 453.4 kB / 0.9113 GB, free: 8.578 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002357/1.306, allocations: 0.5396 MB / 0.9118 GB, free: 8.484 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01401/1.32, allocations: 7.654 MB / 0.9193 GB, free: 6.109 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005913/1.321, allocations: 1.045 MB / 0.9203 GB, free: 5.398 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.0008341/1.321, allocations: 203.5 kB / 0.9205 GB, free: 5.348 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004087/1.322, allocations: 316.2 kB / 0.9208 GB, free: 5.344 MB / 0.7012 GB Notification: Performance of SimCode: time 1.022e-06/1.322, allocations: 0 / 0.9208 GB, free: 5.344 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05992/1.382, allocations: 28.38 MB / 0.9485 GB, free: 4.887 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.62/14, allocations: 7.969 kB / 0.9485 GB, free: 4.879 MB / 0.7169 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlowPrescribedHeatFlowRate_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe 2>&1)