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.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.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(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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001714/0.001714, allocations: 108.1 kB / 16.41 MB, free: 6.445 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.001784/0.001784, allocations: 191.9 kB / 17.34 MB, free: 5.738 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.279/1.279, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7497/0.7497, allocations: 122.9 MB / 414.1 MB, free: 15.79 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001806/0.001806, allocations: 67.56 kB / 0.5679 GB, free: 28.96 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1897/0.1915, allocations: 77.92 MB / 0.644 GB, free: 9.566 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate): time 0.5252/0.7168, allocations: 171 MB / 0.811 GB, free: 11.32 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.005566/0.7224, allocations: 4.277 MB / 0.8152 GB, free: 10.84 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007916/0.7232, allocations: 23.66 kB / 0.8152 GB, free: 10.83 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001059/0.7243, allocations: 374.4 kB / 0.8156 GB, free: 10.62 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.00261/0.7269, allocations: 1.031 MB / 0.8166 GB, free: 10.15 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002119/0.729, allocations: 0.8221 MB / 0.8174 GB, free: 9.855 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001697/0.7308, allocations: 1.301 MB / 0.8186 GB, free: 9.188 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007137/0.7315, allocations: 486.9 kB / 0.8191 GB, free: 8.902 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001446/0.7329, allocations: 0.7012 MB / 0.8198 GB, free: 8.523 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00117/0.7341, allocations: 443.4 kB / 0.8202 GB, free: 8.309 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001382/0.7343, allocations: 56.69 kB / 0.8203 GB, free: 8.305 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001718/0.736, allocations: 0.9149 MB / 0.8212 GB, free: 7.883 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002752/0.7363, allocations: 216.4 kB / 0.8214 GB, free: 7.734 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0004941/0.7368, allocations: 327 kB / 0.8217 GB, free: 7.539 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.00191/0.7387, allocations: 1.137 MB / 0.8228 GB, free: 6.871 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/0.7387, allocations: 0 / 0.8228 GB, free: 6.871 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.453e-06/0.7387, allocations: 0 / 0.8228 GB, free: 6.871 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 2.81e-05/0.7388, allocations: 0 / 0.8228 GB, free: 6.871 MB / 0.5919 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.001942/0.7407, allocations: 0.9668 MB / 0.8237 GB, free: 6.09 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.735e-05/0.7408, allocations: 7.781 kB / 0.8237 GB, free: 6.09 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001214/0.7409, allocations: 88.77 kB / 0.8238 GB, free: 6.012 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001638/0.7425, allocations: 268.7 kB / 0.8241 GB, free: 5.891 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009603/0.7435, allocations: 0.494 MB / 0.8246 GB, free: 5.473 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.183e-05/0.7436, allocations: 33.94 kB / 0.8246 GB, free: 5.457 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.11e-05/0.7436, allocations: 43.7 kB / 0.8246 GB, free: 5.441 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001209/0.7448, allocations: 0.6206 MB / 0.8252 GB, free: 5.055 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.409e-05/0.7449, allocations: 0 / 0.8252 GB, free: 5.055 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.439e-05/0.7449, allocations: 16.91 kB / 0.8253 GB, free: 5.043 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.058e-05/0.745, allocations: 22.91 kB / 0.8253 GB, free: 5.035 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001326/0.7463, allocations: 0.5427 MB / 0.8258 GB, free: 4.781 MB / 0.5919 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.004006/0.7503, allocations: 2.271 MB / 0.828 GB, free: 2.957 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008918/0.7512, allocations: 274.2 kB / 0.8283 GB, free: 2.816 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005321/0.7518, allocations: 174.3 kB / 0.8285 GB, free: 2.727 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 2.721e-05/0.7518, allocations: 10.72 kB / 0.8285 GB, free: 2.719 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.031e-05/0.7518, allocations: 33 kB / 0.8285 GB, free: 2.68 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=11): time 1.693e-06/0.7518, allocations: 0 / 0.8285 GB, free: 2.68 MB / 0.5919 GB Notification: Performance of matching and sorting (n=11): time 0.004987/0.7568, allocations: 1.092 MB / 0.8296 GB, free: 2.086 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.238e-05/0.7569, allocations: 80.14 kB / 0.8296 GB, free: 1.992 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006529/0.7576, allocations: 0.554 MB / 0.8302 GB, free: 1.656 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 4.882e-05/0.7576, allocations: 31.8 kB / 0.8302 GB, free: 1.621 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002213/0.7579, allocations: 301.2 kB / 0.8305 GB, free: 1.355 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 4.96e-05/0.7579, allocations: 47.41 kB / 0.8305 GB, free: 1.316 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001204/0.758, allocations: 62.05 kB / 0.8306 GB, free: 1.273 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001392/0.7582, allocations: 357.6 kB / 0.8309 GB, free: 0.9258 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005776/0.7588, allocations: 192.3 kB / 0.8311 GB, free: 0.8359 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006174/0.7594, allocations: 261.1 kB / 0.8314 GB, free: 0.6523 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001119/0.7605, allocations: 406.2 kB / 0.8318 GB, free: 416 kB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.7605, allocations: 0 / 0.8318 GB, free: 416 kB / 0.5919 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.002544/0.7631, allocations: 0.7269 MB / 0.8325 GB, free: 36 kB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.827e-05/0.7631, allocations: 9.438 kB / 0.8325 GB, free: 32 kB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.446e-06/0.7631, allocations: 6.5 kB / 0.8325 GB, free: 28 kB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006457/0.7638, allocations: 185.4 kB / 0.8327 GB, free: 15.95 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003457/0.7641, allocations: 71.3 kB / 0.8327 GB, free: 15.93 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003816/0.768, allocations: 2.244 MB / 0.8349 GB, free: 14.02 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006337/0.7686, allocations: 75.92 kB / 0.835 GB, free: 13.98 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.638e-05/0.7687, allocations: 15.55 kB / 0.835 GB, free: 13.97 MB / 0.6075 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.0002766/0.7689, allocations: 192.7 kB / 0.8352 GB, free: 13.81 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.663e-05/0.769, allocations: 51.09 kB / 0.8352 GB, free: 13.79 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.173e-05/0.7691, allocations: 53.81 kB / 0.8353 GB, free: 13.75 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.7691, allocations: 0 / 0.8353 GB, free: 13.75 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.895e-06/0.7692, allocations: 2.188 kB / 0.8353 GB, free: 13.75 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.7692, allocations: 0 / 0.8353 GB, free: 13.75 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002929/0.7721, allocations: 1.136 MB / 0.8364 GB, free: 12.95 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.896e-06/0.7721, allocations: 0 / 0.8364 GB, free: 12.95 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002429/0.7724, allocations: 36.39 kB / 0.8364 GB, free: 12.94 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005222/0.7729, allocations: 188.1 kB / 0.8366 GB, free: 12.85 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.902e-05/0.7729, allocations: 2.719 kB / 0.8366 GB, free: 12.85 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003539/0.7765, allocations: 2.186 MB / 0.8388 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.7765, allocations: 2.531 kB / 0.8388 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002459/0.7789, allocations: 0.7085 MB / 0.8395 GB, free: 10.53 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002757/0.7792, allocations: 175.1 kB / 0.8396 GB, free: 10.37 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.928e-05/0.7793, allocations: 0 / 0.8396 GB, free: 10.37 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005646/0.7799, allocations: 54.94 kB / 0.8397 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.025e-05/0.78, allocations: 15.45 kB / 0.8397 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.829e-05/0.78, allocations: 15.45 kB / 0.8397 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0004679/0.7805, allocations: 394.2 kB / 0.8401 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.31e-07/0.7805, allocations: 0 / 0.8401 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0006318/0.7811, allocations: 180 kB / 0.8403 GB, free: 10.07 MB / 0.6075 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.003206/0.7843, allocations: 1.327 MB / 0.8415 GB, free: 9.074 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001589/0.7859, allocations: 0.5186 MB / 0.8421 GB, free: 8.766 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 6.222e-06/0.786, allocations: 4 kB / 0.8421 GB, free: 8.762 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0007014/0.7867, allocations: 302.1 kB / 0.8423 GB, free: 8.555 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001407/0.7881, allocations: 304.8 kB / 0.8426 GB, free: 8.398 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01102/0.7991, allocations: 5.1 MB / 0.8476 GB, free: 4.082 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004293/0.7996, allocations: 0.8621 MB / 0.8485 GB, free: 3.191 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0004448/0.8, allocations: 108.5 kB / 0.8486 GB, free: 3.086 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002121/0.8003, allocations: 159.4 kB / 0.8487 GB, free: 2.93 MB / 0.6075 GB Notification: Performance of SimCode: time 7.21e-07/0.8003, allocations: 0 / 0.8487 GB, free: 2.93 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04202/0.8423, allocations: 16.88 MB / 0.8652 GB, free: 2.398 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.37/12.21, allocations: 5.562 kB / 0.8652 GB, free: 2.398 MB / 0.6231 GB (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)