Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.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.00141/0.00141, allocations: 108.9 kB / 16.46 MB, free: 6.453 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.001549/0.001549, allocations: 216.2 kB / 19.43 MB, free: 3.625 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.492/1.492, allocations: 230.6 MB / 252.8 MB, free: 8.961 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.9039/0.9039, allocations: 145 MB / 453.8 MB, free: 0.6992 MB / 350.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.Examples.MixingVolumePrescribedHeatFlowRate,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate",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.001973/0.001973, allocations: 70.2 kB / 0.628 GB, free: 10.64 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1941/0.1961, allocations: 87.83 MB / 0.7138 GB, free: 2.816 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate): time 0.5669/0.763, allocations: 174.5 MB / 0.8842 GB, free: 1.812 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.007458/0.7704, allocations: 4.312 MB / 0.8884 GB, free: 13.49 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008095/0.7712, allocations: 31.75 kB / 0.8884 GB, free: 13.46 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.00125/0.7725, allocations: 369.9 kB / 0.8888 GB, free: 13.09 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.002945/0.7754, allocations: 1.027 MB / 0.8898 GB, free: 12.06 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.002381/0.7778, allocations: 0.8246 MB / 0.8906 GB, free: 11.25 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.002161/0.78, allocations: 1.294 MB / 0.8919 GB, free: 9.949 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008524/0.7808, allocations: 403.3 kB / 0.8922 GB, free: 9.551 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001803/0.7826, allocations: 0.7006 MB / 0.8929 GB, free: 8.848 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001432/0.784, allocations: 492.5 kB / 0.8934 GB, free: 8.367 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0001498/0.7842, allocations: 55.98 kB / 0.8935 GB, free: 8.312 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001809/0.786, allocations: 0.9432 MB / 0.8944 GB, free: 7.367 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0002797/0.7863, allocations: 215.3 kB / 0.8946 GB, free: 7.156 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0004875/0.7868, allocations: 326.6 kB / 0.8949 GB, free: 6.836 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.001724/0.7885, allocations: 1.164 MB / 0.896 GB, free: 5.668 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.7885, allocations: 0 / 0.896 GB, free: 5.668 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.653e-06/0.7885, allocations: 0 / 0.896 GB, free: 5.668 MB / 0.67 GB Notification: Performance of Transformations before backend: time 1.042e-05/0.7885, allocations: 0 / 0.896 GB, free: 5.668 MB / 0.67 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 106 * Number of variables: 106 Notification: Performance of Generate backend data structure: time 0.001738/0.7902, allocations: 0.9766 MB / 0.897 GB, free: 4.641 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.559e-05/0.7903, allocations: 8.031 kB / 0.897 GB, free: 4.633 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001199/0.7904, allocations: 90.52 kB / 0.8971 GB, free: 4.535 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001689/0.7921, allocations: 255.4 kB / 0.8973 GB, free: 4.285 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008903/0.793, allocations: 0.4939 MB / 0.8978 GB, free: 3.75 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.711e-05/0.793, allocations: 37.81 kB / 0.8978 GB, free: 3.711 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.91e-05/0.7931, allocations: 40 kB / 0.8979 GB, free: 3.672 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001305/0.7944, allocations: 0.6107 MB / 0.8985 GB, free: 3.039 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.238e-05/0.7944, allocations: 0 / 0.8985 GB, free: 3.039 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.225e-05/0.7945, allocations: 24 kB / 0.8985 GB, free: 3.016 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.349e-05/0.7945, allocations: 20.98 kB / 0.8985 GB, free: 2.996 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001486/0.796, allocations: 0.5503 MB / 0.8991 GB, free: 2.441 MB / 0.67 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.004067/0.8001, allocations: 2.269 MB / 0.9013 GB, free: 40 kB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009917/0.8011, allocations: 271.2 kB / 0.9015 GB, free: 15.77 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005686/0.8016, allocations: 168.7 kB / 0.9017 GB, free: 15.6 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 2.427e-05/0.8017, allocations: 3.938 kB / 0.9017 GB, free: 15.59 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.673e-05/0.8017, allocations: 38.56 kB / 0.9017 GB, free: 15.55 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=11): time 1.583e-06/0.8017, allocations: 3.938 kB / 0.9017 GB, free: 15.54 MB / 0.6856 GB Notification: Performance of matching and sorting (n=11): time 0.005368/0.8071, allocations: 1.1 MB / 0.9028 GB, free: 14.41 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.865e-05/0.8071, allocations: 77.11 kB / 0.9029 GB, free: 14.32 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006934/0.8078, allocations: 0.5573 MB / 0.9034 GB, free: 13.75 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 4.692e-05/0.8079, allocations: 29.7 kB / 0.9035 GB, free: 13.72 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002506/0.8081, allocations: 304.1 kB / 0.9037 GB, free: 13.42 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 4.731e-05/0.8082, allocations: 35.69 kB / 0.9038 GB, free: 13.38 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001284/0.8083, allocations: 61.66 kB / 0.9038 GB, free: 13.32 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001686/0.8085, allocations: 362.8 kB / 0.9042 GB, free: 12.95 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006229/0.8091, allocations: 179.8 kB / 0.9044 GB, free: 12.78 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006769/0.8098, allocations: 274.5 kB / 0.9046 GB, free: 12.48 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001206/0.811, allocations: 403 kB / 0.905 GB, free: 12.05 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.811, allocations: 0 / 0.905 GB, free: 12.05 MB / 0.6856 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.002778/0.8138, allocations: 0.7357 MB / 0.9057 GB, free: 11.31 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.048e-05/0.8138, allocations: 12.03 kB / 0.9057 GB, free: 11.3 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.566e-06/0.8138, allocations: 0 / 0.9057 GB, free: 11.3 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006891/0.8145, allocations: 184.6 kB / 0.9059 GB, free: 11.12 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003746/0.8149, allocations: 75.88 kB / 0.906 GB, free: 11.04 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004207/0.8191, allocations: 2.229 MB / 0.9082 GB, free: 8.684 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006444/0.8197, allocations: 77.02 kB / 0.9082 GB, free: 8.609 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.066e-05/0.8197, allocations: 15.94 kB / 0.9082 GB, free: 8.594 MB / 0.6856 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (26): * Single equations (assignments): 25 * 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.0003189/0.8201, allocations: 189.8 kB / 0.9084 GB, free: 8.398 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001086/0.8202, allocations: 51.67 kB / 0.9085 GB, free: 8.348 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001038/0.8203, allocations: 55.97 kB / 0.9085 GB, free: 8.293 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.847e-06/0.8203, allocations: 4 kB / 0.9085 GB, free: 8.289 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.043e-06/0.8203, allocations: 0 / 0.9085 GB, free: 8.289 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.387e-06/0.8203, allocations: 3.938 kB / 0.9085 GB, free: 8.285 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003193/0.8235, allocations: 1.137 MB / 0.9096 GB, free: 7.082 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.8235, allocations: 0 / 0.9096 GB, free: 7.082 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002461/0.8237, allocations: 35.95 kB / 0.9097 GB, free: 7.047 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005688/0.8243, allocations: 190.4 kB / 0.9099 GB, free: 6.859 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.979e-05/0.8243, allocations: 0 / 0.9099 GB, free: 6.859 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003812/0.8281, allocations: 2.181 MB / 0.912 GB, free: 4.535 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.8281, allocations: 0 / 0.912 GB, free: 4.535 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002595/0.8307, allocations: 0.7121 MB / 0.9127 GB, free: 3.797 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000257/0.831, allocations: 176.7 kB / 0.9129 GB, free: 3.605 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.208e-05/0.831, allocations: 0 / 0.9129 GB, free: 3.605 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005815/0.8316, allocations: 48.44 kB / 0.9129 GB, free: 3.559 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.378e-05/0.8317, allocations: 23.91 kB / 0.9129 GB, free: 3.535 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.832e-05/0.8317, allocations: 11.98 kB / 0.9129 GB, free: 3.523 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0005061/0.8322, allocations: 394.8 kB / 0.9133 GB, free: 3.141 MB / 0.6856 GB Notification: Performance of sort global known variables: time 9e-08/0.8322, allocations: 0 / 0.9133 GB, free: 3.141 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0007261/0.833, allocations: 179.8 kB / 0.9135 GB, free: 2.965 MB / 0.6856 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 simulation (7): * Single equations (assignments): 6 * 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.003179/0.8361, allocations: 1.304 MB / 0.9148 GB, free: 1.625 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.001646/0.8378, allocations: 0.5199 MB / 0.9153 GB, free: 1.094 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/0.8378, allocations: 0 / 0.9153 GB, free: 1.094 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0007594/0.8386, allocations: 291 kB / 0.9155 GB, free: 0.7969 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00141/0.84, allocations: 312.5 kB / 0.9158 GB, free: 0.5 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01178/0.8517, allocations: 5.079 MB / 0.9208 GB, free: 11.27 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005114/0.8523, allocations: 0.8697 MB / 0.9216 GB, free: 10.37 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.0004121/0.8527, allocations: 108.5 kB / 0.9218 GB, free: 10.26 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002378/0.8529, allocations: 163.4 kB / 0.9219 GB, free: 10.1 MB / 0.7012 GB Notification: Performance of SimCode: time 6.71e-07/0.8529, allocations: 0 / 0.9219 GB, free: 10.1 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05179/0.9047, allocations: 17 MB / 0.9385 GB, free: 9.465 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.13/13.03, allocations: 11.31 kB / 0.9385 GB, free: 9.457 MB / 0.7169 GB " [Timeout remaining time 647] (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.sim & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 BuildSysPro_BuildSysPro_IBPSA_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.87061707000248] Failed to read output from testmodel.py, exit status != 0: 13.131847416007076 13.148161823 12.35628835 Calling exit ...