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.001386/0.001386, allocations: 104 kB / 16.4 MB, free: 6.504 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.001283/0.001283, allocations: 196 kB / 17.34 MB, free: 5.727 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.377/1.377, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7946/0.7946, allocations: 126.7 MB / 417.9 MB, free: 12.28 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001941/0.001941, allocations: 69.23 kB / 0.5735 GB, free: 26.99 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1584/0.1603, allocations: 78.87 MB / 0.6505 GB, free: 3.609 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate): time 0.5475/0.7078, allocations: 171 MB / 0.8175 GB, free: 10.52 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.006846/0.7147, allocations: 4.285 MB / 0.8217 GB, free: 9.195 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009291/0.7157, allocations: 20.19 kB / 0.8217 GB, free: 9.188 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001224/0.7169, allocations: 357.8 kB / 0.8221 GB, free: 8.934 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.002963/0.72, allocations: 0.9939 MB / 0.8231 GB, free: 8.316 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002396/0.7224, allocations: 0.8148 MB / 0.8239 GB, free: 7.809 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001914/0.7243, allocations: 1.29 MB / 0.8251 GB, free: 7.125 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007168/0.725, allocations: 476.8 kB / 0.8256 GB, free: 6.852 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001463/0.7265, allocations: 0.7047 MB / 0.8263 GB, free: 6.473 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001202/0.7277, allocations: 448.3 kB / 0.8267 GB, free: 6.25 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001072/0.7279, allocations: 56.34 kB / 0.8267 GB, free: 6.246 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001798/0.7297, allocations: 0.904 MB / 0.8276 GB, free: 5.832 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002857/0.73, allocations: 211.7 kB / 0.8278 GB, free: 5.691 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.000464/0.7305, allocations: 326.5 kB / 0.8281 GB, free: 5.496 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.00213/0.7326, allocations: 1.145 MB / 0.8293 GB, free: 4.82 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.7326, allocations: 3.938 kB / 0.8293 GB, free: 4.816 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.653e-06/0.7326, allocations: 0 / 0.8293 GB, free: 4.816 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.827e-05/0.7326, allocations: 0 / 0.8293 GB, free: 4.816 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.001863/0.7345, allocations: 0.9639 MB / 0.8302 GB, free: 4.031 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.979e-05/0.7346, allocations: 10 kB / 0.8302 GB, free: 4.031 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001086/0.7347, allocations: 86.27 kB / 0.8303 GB, free: 3.953 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001602/0.7363, allocations: 268.5 kB / 0.8305 GB, free: 3.836 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009475/0.7373, allocations: 0.4987 MB / 0.831 GB, free: 3.414 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.703e-05/0.7373, allocations: 33.91 kB / 0.8311 GB, free: 3.398 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.276e-05/0.7374, allocations: 37.69 kB / 0.8311 GB, free: 3.387 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001265/0.7386, allocations: 0.6149 MB / 0.8317 GB, free: 3.004 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.461e-05/0.7387, allocations: 0 / 0.8317 GB, free: 3.004 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.097e-05/0.7387, allocations: 25.52 kB / 0.8317 GB, free: 2.988 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.415e-05/0.7388, allocations: 23.95 kB / 0.8317 GB, free: 2.98 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001418/0.7402, allocations: 0.5448 MB / 0.8323 GB, free: 2.723 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.004003/0.7442, allocations: 2.261 MB / 0.8345 GB, free: 0.9023 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009201/0.7452, allocations: 282.6 kB / 0.8348 GB, free: 0.7539 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005384/0.7457, allocations: 178.7 kB / 0.8349 GB, free: 0.6602 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 3.076e-05/0.7457, allocations: 5.438 kB / 0.8349 GB, free: 0.6602 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.009e-05/0.7458, allocations: 40.28 kB / 0.835 GB, free: 0.6133 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=11): time 1.663e-06/0.7458, allocations: 0 / 0.835 GB, free: 0.6133 MB / 0.5919 GB Notification: Performance of matching and sorting (n=11): time 0.004975/0.7508, allocations: 1.089 MB / 0.836 GB, free: 24 kB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.127e-05/0.7509, allocations: 83.73 kB / 0.8361 GB, free: 15.93 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006391/0.7515, allocations: 0.5523 MB / 0.8367 GB, free: 15.59 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.463e-05/0.7516, allocations: 32.33 kB / 0.8367 GB, free: 15.56 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002293/0.7518, allocations: 298.6 kB / 0.837 GB, free: 15.29 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.713e-05/0.7518, allocations: 44.56 kB / 0.837 GB, free: 15.26 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001218/0.752, allocations: 56.09 kB / 0.8371 GB, free: 15.22 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001668/0.7521, allocations: 367.3 kB / 0.8374 GB, free: 14.86 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005906/0.7527, allocations: 190.6 kB / 0.8376 GB, free: 14.77 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006441/0.7534, allocations: 259.6 kB / 0.8378 GB, free: 14.59 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001154/0.7546, allocations: 409.9 kB / 0.8382 GB, free: 14.34 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.557e-06/0.7546, allocations: 2.344 kB / 0.8382 GB, free: 14.34 MB / 0.6075 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.002636/0.7572, allocations: 0.7281 MB / 0.8389 GB, free: 13.97 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.227e-05/0.7573, allocations: 7.469 kB / 0.839 GB, free: 13.97 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.997e-06/0.7573, allocations: 10.66 kB / 0.839 GB, free: 13.96 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000609/0.7579, allocations: 176.8 kB / 0.8391 GB, free: 13.88 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003581/0.7583, allocations: 78.69 kB / 0.8392 GB, free: 13.86 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004041/0.7623, allocations: 2.234 MB / 0.8414 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000672/0.763, allocations: 70.22 kB / 0.8415 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.187e-05/0.7631, allocations: 14.08 kB / 0.8415 GB, free: 11.91 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.0002919/0.7634, allocations: 197 kB / 0.8417 GB, free: 11.74 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001022/0.7635, allocations: 56.45 kB / 0.8417 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001024/0.7636, allocations: 49.84 kB / 0.8418 GB, free: 11.68 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.774e-06/0.7636, allocations: 0 / 0.8418 GB, free: 11.68 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/0.7636, allocations: 2.719 kB / 0.8418 GB, free: 11.68 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.7636, allocations: 0 / 0.8418 GB, free: 11.68 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003024/0.7666, allocations: 1.132 MB / 0.8429 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.526e-06/0.7666, allocations: 4.031 kB / 0.8429 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000229/0.7669, allocations: 37.14 kB / 0.8429 GB, free: 10.87 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005302/0.7674, allocations: 182.4 kB / 0.8431 GB, free: 10.78 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.404e-05/0.7675, allocations: 14.12 kB / 0.8431 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00375/0.7712, allocations: 2.183 MB / 0.8452 GB, free: 8.895 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.335e-06/0.7712, allocations: 0 / 0.8452 GB, free: 8.895 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002628/0.7739, allocations: 0.7021 MB / 0.8459 GB, free: 8.465 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003866/0.7743, allocations: 179.6 kB / 0.8461 GB, free: 8.301 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.198e-05/0.7744, allocations: 7.938 kB / 0.8461 GB, free: 8.293 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005784/0.775, allocations: 49.34 kB / 0.8461 GB, free: 8.273 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.035e-05/0.7751, allocations: 15.8 kB / 0.8462 GB, free: 8.266 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.267e-05/0.7751, allocations: 15.52 kB / 0.8462 GB, free: 8.258 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.000509/0.7756, allocations: 390.9 kB / 0.8465 GB, free: 8.031 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.71e-07/0.7757, allocations: 0 / 0.8465 GB, free: 8.031 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0006648/0.7763, allocations: 183.4 kB / 0.8467 GB, free: 8.004 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.0033/0.7796, allocations: 1.314 MB / 0.848 GB, free: 7.016 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001622/0.7813, allocations: 0.5248 MB / 0.8485 GB, free: 6.703 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 8.587e-06/0.7813, allocations: 4.25 kB / 0.8485 GB, free: 6.699 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0007608/0.7821, allocations: 302.9 kB / 0.8488 GB, free: 6.391 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001607/0.7837, allocations: 320.4 kB / 0.8491 GB, free: 6.094 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0119/0.7956, allocations: 5.077 MB / 0.8541 GB, free: 0.8555 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005386/0.7962, allocations: 0.8622 MB / 0.8549 GB, free: 15.96 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0004759/0.7967, allocations: 112.4 kB / 0.855 GB, free: 15.86 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002443/0.7969, allocations: 159.4 kB / 0.8552 GB, free: 15.7 MB / 0.6231 GB Notification: Performance of SimCode: time 7.71e-07/0.7969, allocations: 0 / 0.8552 GB, free: 15.7 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07112/0.8681, allocations: 16.89 MB / 0.8717 GB, free: 15.15 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.2/13.06, allocations: 6.625 kB / 0.8717 GB, free: 15.15 MB / 0.6387 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)