Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_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.001337/0.001337, allocations: 114 kB / 17.12 MB, free: 6.008 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.0015/0.0015, allocations: 211.2 kB / 20.1 MB, free: 3.055 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.426/1.426, allocations: 230.6 MB / 253.5 MB, free: 15.07 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.9454/0.9454, allocations: 150 MB / 459.5 MB, free: 5.621 MB / 350.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/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(IBPSA.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IBPSA 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.00188/0.00188, allocations: 75.3 kB / 0.6361 GB, free: 30.42 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1569/0.1587, allocations: 89.12 MB / 0.7231 GB, free: 4.043 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate): time 0.5935/0.7522, allocations: 174.5 MB / 0.8935 GB, free: 2.816 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.007118/0.7593, allocations: 4.313 MB / 0.8977 GB, free: 2.719 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001132/0.7604, allocations: 29.28 kB / 0.8978 GB, free: 2.719 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.001105/0.7615, allocations: 370 kB / 0.8981 GB, free: 2.707 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.002806/0.7644, allocations: 1.027 MB / 0.8991 GB, free: 2.66 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.002244/0.7666, allocations: 0.8243 MB / 0.8999 GB, free: 2.625 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.001709/0.7683, allocations: 1.293 MB / 0.9012 GB, free: 2.625 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005096/0.7688, allocations: 410.3 kB / 0.9016 GB, free: 2.598 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001202/0.77, allocations: 0.7389 MB / 0.9023 GB, free: 2.59 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009513/0.771, allocations: 476.3 kB / 0.9027 GB, free: 2.586 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 8.64e-05/0.7711, allocations: 51.44 kB / 0.9028 GB, free: 2.586 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001615/0.7727, allocations: 0.9436 MB / 0.9037 GB, free: 2.574 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0002189/0.7729, allocations: 218.5 kB / 0.9039 GB, free: 2.574 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0003707/0.7733, allocations: 327.6 kB / 0.9042 GB, free: 2.574 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.001684/0.7749, allocations: 1.141 MB / 0.9054 GB, free: 2.508 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.7749, allocations: 4 kB / 0.9054 GB, free: 2.504 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.984e-06/0.775, allocations: 0 / 0.9054 GB, free: 2.504 MB / 0.67 GB Notification: Performance of Transformations before backend: time 1.074e-05/0.775, allocations: 0 / 0.9054 GB, free: 2.504 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.001756/0.7767, allocations: 0.9731 MB / 0.9063 GB, free: 17.89 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.337e-05/0.7768, allocations: 8.156 kB / 0.9063 GB, free: 17.89 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001006/0.7769, allocations: 86.2 kB / 0.9064 GB, free: 17.85 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001613/0.7785, allocations: 265.3 kB / 0.9067 GB, free: 17.8 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007992/0.7793, allocations: 0.4954 MB / 0.9071 GB, free: 17.54 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.734e-05/0.7793, allocations: 30.47 kB / 0.9072 GB, free: 17.54 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.906e-05/0.7794, allocations: 42.53 kB / 0.9072 GB, free: 17.54 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001091/0.7805, allocations: 0.616 MB / 0.9078 GB, free: 17.44 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.276e-05/0.7805, allocations: 0 / 0.9078 GB, free: 17.44 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.378e-05/0.7805, allocations: 18.94 kB / 0.9078 GB, free: 17.44 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.707e-05/0.7805, allocations: 19.97 kB / 0.9078 GB, free: 17.44 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001303/0.7818, allocations: 0.5585 MB / 0.9084 GB, free: 17.42 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.003687/0.7855, allocations: 2.257 MB / 0.9106 GB, free: 16.37 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008622/0.7864, allocations: 279 kB / 0.9109 GB, free: 16.34 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000505/0.7869, allocations: 164.6 kB / 0.911 GB, free: 16.32 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 2.342e-05/0.7869, allocations: 3.094 kB / 0.911 GB, free: 16.32 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.824e-05/0.787, allocations: 35.59 kB / 0.9111 GB, free: 16.29 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=11): time 2.234e-06/0.787, allocations: 4 kB / 0.9111 GB, free: 16.28 MB / 0.6856 GB Notification: Performance of matching and sorting (n=11): time 0.004956/0.7919, allocations: 1.088 MB / 0.9121 GB, free: 16.08 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.522e-05/0.792, allocations: 84.45 kB / 0.9122 GB, free: 15.98 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005541/0.7925, allocations: 0.5533 MB / 0.9127 GB, free: 15.86 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 4.811e-05/0.7926, allocations: 26.8 kB / 0.9128 GB, free: 15.82 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001713/0.7928, allocations: 311.6 kB / 0.9131 GB, free: 15.66 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 3.876e-05/0.7928, allocations: 45.98 kB / 0.9131 GB, free: 15.64 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000109/0.7929, allocations: 60.67 kB / 0.9132 GB, free: 15.62 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001626/0.7931, allocations: 356.1 kB / 0.9135 GB, free: 15.3 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005603/0.7936, allocations: 193.2 kB / 0.9137 GB, free: 15.3 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000604/0.7942, allocations: 270.8 kB / 0.9139 GB, free: 15.2 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00109/0.7953, allocations: 407.7 kB / 0.9143 GB, free: 15.11 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.926e-06/0.7953, allocations: 0 / 0.9143 GB, free: 15.11 MB / 0.6856 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.002529/0.7978, allocations: 0.7273 MB / 0.915 GB, free: 15.02 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.962e-05/0.7979, allocations: 8.594 kB / 0.9151 GB, free: 15.02 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.914e-06/0.7979, allocations: 6.531 kB / 0.9151 GB, free: 15.02 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005965/0.7985, allocations: 183.8 kB / 0.9152 GB, free: 14.99 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003476/0.7988, allocations: 71.95 kB / 0.9153 GB, free: 14.99 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003917/0.8027, allocations: 2.236 MB / 0.9175 GB, free: 13.6 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006614/0.8034, allocations: 76.73 kB / 0.9176 GB, free: 13.57 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.969e-05/0.8034, allocations: 17.02 kB / 0.9176 GB, free: 13.57 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.0002847/0.8037, allocations: 190.5 kB / 0.9178 GB, free: 13.45 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.289e-05/0.8038, allocations: 54.91 kB / 0.9178 GB, free: 13.43 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.584e-05/0.8039, allocations: 51.75 kB / 0.9179 GB, free: 13.41 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.8039, allocations: 0 / 0.9179 GB, free: 13.41 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.8039, allocations: 4.891 kB / 0.9179 GB, free: 13.41 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.8039, allocations: 0 / 0.9179 GB, free: 13.41 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002882/0.8068, allocations: 1.139 MB / 0.919 GB, free: 13.06 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.946e-06/0.8068, allocations: 0 / 0.919 GB, free: 13.06 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002442/0.807, allocations: 43.14 kB / 0.919 GB, free: 13.05 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004926/0.8075, allocations: 172.8 kB / 0.9192 GB, free: 13.04 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.289e-05/0.8075, allocations: 13.89 kB / 0.9192 GB, free: 13.04 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003389/0.8109, allocations: 2.19 MB / 0.9213 GB, free: 11.64 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.8109, allocations: 4.062 kB / 0.9213 GB, free: 11.64 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002306/0.8132, allocations: 0.6991 MB / 0.922 GB, free: 11.43 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002342/0.8135, allocations: 173.6 kB / 0.9222 GB, free: 11.31 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.334e-05/0.8135, allocations: 3.938 kB / 0.9222 GB, free: 11.31 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005486/0.8141, allocations: 48.38 kB / 0.9222 GB, free: 11.3 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.002e-05/0.8141, allocations: 12.95 kB / 0.9223 GB, free: 11.3 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.642e-05/0.8142, allocations: 14.88 kB / 0.9223 GB, free: 11.3 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0003927/0.8146, allocations: 394.7 kB / 0.9226 GB, free: 11.22 MB / 0.6856 GB Notification: Performance of sort global known variables: time 9.1e-08/0.8146, allocations: 0 / 0.9226 GB, free: 11.22 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.000624/0.8152, allocations: 185.1 kB / 0.9228 GB, free: 11.2 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.002823/0.818, allocations: 1.312 MB / 0.9241 GB, free: 10.45 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.001449/0.8195, allocations: 0.514 MB / 0.9246 GB, free: 10.33 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/0.8195, allocations: 0 / 0.9246 GB, free: 10.33 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0006588/0.8201, allocations: 294.5 kB / 0.9249 GB, free: 10.21 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001295/0.8214, allocations: 317.1 kB / 0.9252 GB, free: 10.16 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01046/0.8319, allocations: 5.066 MB / 0.9301 GB, free: 8.383 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004329/0.8323, allocations: 0.8556 MB / 0.931 GB, free: 7.68 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0003715/0.8327, allocations: 108.5 kB / 0.9311 GB, free: 7.652 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001861/0.8329, allocations: 161.5 kB / 0.9312 GB, free: 7.645 MB / 0.6856 GB Notification: Performance of SimCode: time 4.9e-07/0.8329, allocations: 0 / 0.9312 GB, free: 7.645 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04772/0.8806, allocations: 16.98 MB / 0.9478 GB, free: 268 kB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.05/12.93, allocations: 5.438 kB / 0.9478 GB, free: 264 kB / 0.6856 GB " [Timeout remaining time 647] (rm -f IBPSA_latest_IBPSA.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.sim & python3 -m fmpy simulate --output-file IBPSA_latest_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 IBPSA_latest_IBPSA_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate.fmu > IBPSA_latest_IBPSA.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.810875464929268] Failed to read output from testmodel.py, exit status != 0: 13.033413928933442 13.054107093 12.275440574 Calling exit ...