Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate,fileNamePrefix="BuildingSystems_BuildingSystems_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.004437/0.004437, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.001069/0.001069, allocations: 202.3 kB / 16.68 MB, free: 5.969 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.33/1.33, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002108/0.002108, allocations: 286.4 kB / 290.8 MB, free: 1.926 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9451/0.9451, allocations: 169.3 MB / 0.4983 GB, free: 13.8 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001761/0.001761, allocations: 87.86 kB / 0.6809 GB, free: 28 kB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.168/0.1698, allocations: 86.97 MB / 0.7659 GB, free: 8.973 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate): time 0.5597/0.7296, allocations: 171 MB / 0.9329 GB, free: 8.207 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.007454/0.7371, allocations: 4.294 MB / 0.937 GB, free: 3.902 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007236/0.7378, allocations: 19.88 kB / 0.9371 GB, free: 3.883 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.00123/0.7391, allocations: 370 kB / 0.9374 GB, free: 3.52 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.002473/0.7416, allocations: 1.034 MB / 0.9384 GB, free: 2.48 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.002159/0.7438, allocations: 0.8175 MB / 0.9392 GB, free: 1.672 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.001655/0.7455, allocations: 1.306 MB / 0.9405 GB, free: 372 kB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006192/0.7461, allocations: 483.3 kB / 0.941 GB, free: 15.89 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00116/0.7473, allocations: 0.6923 MB / 0.9416 GB, free: 15.2 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008571/0.7481, allocations: 451.5 kB / 0.9421 GB, free: 14.75 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 7.567e-05/0.7482, allocations: 52 kB / 0.9421 GB, free: 14.7 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001468/0.7497, allocations: 0.9082 MB / 0.943 GB, free: 13.79 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0001934/0.7499, allocations: 215.4 kB / 0.9432 GB, free: 13.58 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.0002975/0.7502, allocations: 338.5 kB / 0.9435 GB, free: 13.25 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.001327/0.7515, allocations: 1.135 MB / 0.9446 GB, free: 12.11 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.7515, allocations: 0 / 0.9446 GB, free: 12.11 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.413e-06/0.7515, allocations: 0 / 0.9446 GB, free: 12.11 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 8.576e-06/0.7516, allocations: 0 / 0.9446 GB, free: 12.11 MB / 0.7012 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.001515/0.7531, allocations: 0.9611 MB / 0.9456 GB, free: 11.1 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 3.58e-05/0.7531, allocations: 11.97 kB / 0.9456 GB, free: 11.09 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.234e-05/0.7532, allocations: 90.5 kB / 0.9457 GB, free: 10.99 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001588/0.7548, allocations: 264 kB / 0.9459 GB, free: 10.73 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008108/0.7556, allocations: 0.5017 MB / 0.9464 GB, free: 10.19 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.131e-05/0.7557, allocations: 29 kB / 0.9464 GB, free: 10.16 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.143e-05/0.7558, allocations: 43.94 kB / 0.9465 GB, free: 10.12 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001167/0.7569, allocations: 0.6185 MB / 0.9471 GB, free: 9.48 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.48e-05/0.7569, allocations: 0 / 0.9471 GB, free: 9.48 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.737e-05/0.757, allocations: 16 kB / 0.9471 GB, free: 9.465 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.739e-05/0.7571, allocations: 21.98 kB / 0.9471 GB, free: 9.445 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001367/0.7584, allocations: 0.5503 MB / 0.9477 GB, free: 8.891 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.003765/0.7622, allocations: 2.262 MB / 0.9499 GB, free: 6.496 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009011/0.7631, allocations: 286.2 kB / 0.9501 GB, free: 6.207 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005267/0.7637, allocations: 168.7 kB / 0.9503 GB, free: 6.039 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 3.107e-05/0.7637, allocations: 15.91 kB / 0.9503 GB, free: 6.023 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.321e-05/0.7637, allocations: 34.56 kB / 0.9504 GB, free: 5.98 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=11): time 1.443e-06/0.7637, allocations: 0 / 0.9504 GB, free: 5.98 MB / 0.7012 GB Notification: Performance of matching and sorting (n=11): time 0.004988/0.7687, allocations: 1.084 MB / 0.9514 GB, free: 4.867 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.554e-05/0.7688, allocations: 85.11 kB / 0.9515 GB, free: 4.766 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006377/0.7694, allocations: 0.5534 MB / 0.952 GB, free: 4.207 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 4.174e-05/0.7695, allocations: 33.92 kB / 0.9521 GB, free: 4.168 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002119/0.7697, allocations: 300.1 kB / 0.9524 GB, free: 3.871 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 5.571e-05/0.7698, allocations: 47.58 kB / 0.9524 GB, free: 3.824 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001297/0.7699, allocations: 57.66 kB / 0.9525 GB, free: 3.762 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001371/0.7701, allocations: 358.8 kB / 0.9528 GB, free: 3.402 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006018/0.7707, allocations: 187.8 kB / 0.953 GB, free: 3.219 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006332/0.7713, allocations: 269.2 kB / 0.9532 GB, free: 2.922 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001136/0.7725, allocations: 407.5 kB / 0.9536 GB, free: 2.496 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.001e-06/0.7725, allocations: 0 / 0.9536 GB, free: 2.496 MB / 0.7012 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.002626/0.7751, allocations: 0.728 MB / 0.9543 GB, free: 1.758 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.102e-05/0.7751, allocations: 8 kB / 0.9543 GB, free: 1.75 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.085e-06/0.7751, allocations: 0 / 0.9543 GB, free: 1.75 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006152/0.7758, allocations: 186.8 kB / 0.9545 GB, free: 1.566 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003635/0.7761, allocations: 71.88 kB / 0.9546 GB, free: 1.496 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003748/0.7799, allocations: 2.236 MB / 0.9568 GB, free: 15.13 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005949/0.7805, allocations: 80.33 kB / 0.9568 GB, free: 15.05 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.917e-05/0.7806, allocations: 13.55 kB / 0.9569 GB, free: 15.04 MB / 0.7169 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.0002599/0.7808, allocations: 196.8 kB / 0.957 GB, free: 14.84 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001078/0.7809, allocations: 51.72 kB / 0.9571 GB, free: 14.79 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001079/0.781, allocations: 55.97 kB / 0.9572 GB, free: 14.73 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.7811, allocations: 0 / 0.9572 GB, free: 14.73 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.963e-06/0.7811, allocations: 3.938 kB / 0.9572 GB, free: 14.73 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.145e-06/0.7811, allocations: 0 / 0.9572 GB, free: 14.73 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002951/0.784, allocations: 1.129 MB / 0.9583 GB, free: 13.54 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.569e-06/0.784, allocations: 0 / 0.9583 GB, free: 13.54 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002332/0.7843, allocations: 47.95 kB / 0.9583 GB, free: 13.49 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005079/0.7848, allocations: 184.6 kB / 0.9585 GB, free: 13.31 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.089e-05/0.7848, allocations: 8 kB / 0.9585 GB, free: 13.3 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003391/0.7882, allocations: 2.184 MB / 0.9606 GB, free: 10.98 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.764e-06/0.7882, allocations: 0 / 0.9606 GB, free: 10.98 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002403/0.7907, allocations: 0.7043 MB / 0.9613 GB, free: 10.25 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002968/0.791, allocations: 172.7 kB / 0.9615 GB, free: 10.06 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001059/0.7911, allocations: 4 kB / 0.9615 GB, free: 10.06 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005953/0.7917, allocations: 55.88 kB / 0.9615 GB, free: 10 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.059e-05/0.7917, allocations: 7.984 kB / 0.9615 GB, free: 9.996 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.153e-05/0.7918, allocations: 15.98 kB / 0.9616 GB, free: 9.98 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0004365/0.7923, allocations: 394.8 kB / 0.9619 GB, free: 9.598 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.9e-07/0.7923, allocations: 4 kB / 0.9619 GB, free: 9.594 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0006225/0.7929, allocations: 183.7 kB / 0.9621 GB, free: 9.414 MB / 0.7169 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.002969/0.7959, allocations: 1.318 MB / 0.9634 GB, free: 8.07 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.001533/0.7974, allocations: 0.526 MB / 0.9639 GB, free: 7.531 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 5.731e-06/0.7974, allocations: 11.94 kB / 0.9639 GB, free: 7.52 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0006891/0.7981, allocations: 298.7 kB / 0.9642 GB, free: 7.215 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001383/0.7995, allocations: 305.7 kB / 0.9645 GB, free: 6.926 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01076/0.8103, allocations: 5.08 MB / 0.9695 GB, free: 1.695 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003843/0.8107, allocations: 0.8621 MB / 0.9703 GB, free: 0.8047 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0004006/0.8111, allocations: 104.5 kB / 0.9704 GB, free: 0.6992 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002089/0.8113, allocations: 163.4 kB / 0.9706 GB, free: 0.5391 MB / 0.7169 GB Notification: Performance of SimCode: time 6.61e-07/0.8113, allocations: 4 kB / 0.9706 GB, free: 0.5352 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04103/0.8524, allocations: 16.91 MB / 0.9871 GB, free: 24 kB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.04/11.9, allocations: 11.73 kB / 0.9871 GB, free: 16 kB / 0.7325 GB (rm -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.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 BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate.fmu > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe 2>&1)