Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate,fileNamePrefix="IDEAS_dev_IDEAS_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.007357/0.007357, allocations: 98.17 kB / 15.73 MB, free: 6.012 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.001276/0.001276, allocations: 196.6 kB / 16.68 MB, free: 5.93 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.348/1.348, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.847/0.847, allocations: 135.1 MB / 425.7 MB, free: 4.055 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00125/0.00125, allocations: 63.06 kB / 0.5851 GB, free: 21.91 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.197/0.1982, allocations: 80.92 MB / 0.6641 GB, free: 6.293 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate): time 0.6581/0.8564, allocations: 171 MB / 0.8311 GB, free: 13.32 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.007004/0.8635, allocations: 4.273 MB / 0.8353 GB, free: 9.855 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001079/0.8646, allocations: 26.91 kB / 0.8353 GB, free: 9.844 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001203/0.8658, allocations: 358.3 kB / 0.8357 GB, free: 9.562 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.002721/0.8686, allocations: 1.029 MB / 0.8367 GB, free: 8.77 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.002204/0.8708, allocations: 0.8259 MB / 0.8375 GB, free: 8.168 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001669/0.8725, allocations: 1.297 MB / 0.8387 GB, free: 7.434 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006019/0.8731, allocations: 480.8 kB / 0.8392 GB, free: 7.145 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00122/0.8743, allocations: 0.7002 MB / 0.8399 GB, free: 6.723 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009821/0.8753, allocations: 452.4 kB / 0.8403 GB, free: 6.465 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 7.77e-05/0.8754, allocations: 56.27 kB / 0.8404 GB, free: 6.461 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001606/0.877, allocations: 0.9088 MB / 0.8412 GB, free: 5.965 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0002171/0.8772, allocations: 214.1 kB / 0.8415 GB, free: 5.816 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0003304/0.8776, allocations: 325.8 kB / 0.8418 GB, free: 5.617 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001514/0.8791, allocations: 1.141 MB / 0.8429 GB, free: 4.895 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.8791, allocations: 2.594 kB / 0.8429 GB, free: 4.895 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.983e-06/0.8791, allocations: 0 / 0.8429 GB, free: 4.895 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 9.768e-06/0.8791, allocations: 0 / 0.8429 GB, free: 4.895 MB / 0.6075 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.001627/0.8808, allocations: 0.9729 MB / 0.8438 GB, free: 4.102 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.343e-05/0.8808, allocations: 15.53 kB / 0.8438 GB, free: 4.098 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.547e-05/0.8809, allocations: 88.98 kB / 0.8439 GB, free: 4.016 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001644/0.8826, allocations: 264.2 kB / 0.8442 GB, free: 3.902 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009175/0.8835, allocations: 0.4961 MB / 0.8447 GB, free: 3.473 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.306e-05/0.8836, allocations: 30.78 kB / 0.8447 GB, free: 3.461 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.733e-05/0.8836, allocations: 43.53 kB / 0.8447 GB, free: 3.445 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001252/0.8849, allocations: 0.6152 MB / 0.8453 GB, free: 3.066 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.453e-05/0.8849, allocations: 4 kB / 0.8453 GB, free: 3.062 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.695e-05/0.885, allocations: 16.66 kB / 0.8454 GB, free: 3.051 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.254e-05/0.885, allocations: 19.06 kB / 0.8454 GB, free: 3.047 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001336/0.8864, allocations: 0.5423 MB / 0.8459 GB, free: 2.793 MB / 0.6075 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.003851/0.8902, allocations: 2.275 MB / 0.8481 GB, free: 0.9375 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009056/0.8911, allocations: 275.2 kB / 0.8484 GB, free: 0.7969 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005305/0.8917, allocations: 173.8 kB / 0.8486 GB, free: 0.707 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.468e-05/0.8917, allocations: 6.891 kB / 0.8486 GB, free: 0.7031 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.505e-05/0.8918, allocations: 38.5 kB / 0.8486 GB, free: 0.6562 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=11): time 2.084e-06/0.8918, allocations: 2.719 kB / 0.8486 GB, free: 0.6562 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11): time 0.005092/0.8969, allocations: 1.091 MB / 0.8497 GB, free: 64 kB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.763e-05/0.8969, allocations: 80.05 kB / 0.8497 GB, free: 15.97 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006678/0.8976, allocations: 0.5512 MB / 0.8503 GB, free: 15.64 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 4.944e-05/0.8977, allocations: 32.23 kB / 0.8503 GB, free: 15.6 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002158/0.8979, allocations: 304.6 kB / 0.8506 GB, free: 15.33 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 5.031e-05/0.898, allocations: 41.25 kB / 0.8506 GB, free: 15.3 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001328/0.8981, allocations: 66.8 kB / 0.8507 GB, free: 15.25 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001478/0.8983, allocations: 352.9 kB / 0.851 GB, free: 14.91 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005927/0.8989, allocations: 189.7 kB / 0.8512 GB, free: 14.82 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006467/0.8995, allocations: 272.5 kB / 0.8515 GB, free: 14.62 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001158/0.9007, allocations: 407.1 kB / 0.8519 GB, free: 14.38 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/0.9007, allocations: 3.938 kB / 0.8519 GB, free: 14.38 MB / 0.6231 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.002625/0.9033, allocations: 0.73 MB / 0.8526 GB, free: 14 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.956e-05/0.9034, allocations: 9.75 kB / 0.8526 GB, free: 14 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.839e-06/0.9034, allocations: 2.5 kB / 0.8526 GB, free: 14 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000625/0.904, allocations: 189.1 kB / 0.8528 GB, free: 13.91 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003911/0.9044, allocations: 64.27 kB / 0.8528 GB, free: 13.89 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003973/0.9084, allocations: 2.243 MB / 0.855 GB, free: 11.51 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007026/0.9091, allocations: 75.61 kB / 0.8551 GB, free: 11.43 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.127e-05/0.9092, allocations: 20 kB / 0.8551 GB, free: 11.41 MB / 0.6231 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.0003215/0.9095, allocations: 181.8 kB / 0.8553 GB, free: 11.23 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001093/0.9096, allocations: 59.61 kB / 0.8554 GB, free: 11.17 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.776e-05/0.9097, allocations: 53.16 kB / 0.8554 GB, free: 11.12 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/0.9097, allocations: 4 kB / 0.8554 GB, free: 11.11 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.377e-06/0.9097, allocations: 0 / 0.8554 GB, free: 11.11 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.9097, allocations: 4 kB / 0.8554 GB, free: 11.11 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003039/0.9128, allocations: 1.133 MB / 0.8565 GB, free: 9.91 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.536e-06/0.9128, allocations: 0 / 0.8565 GB, free: 9.91 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002374/0.913, allocations: 35.95 kB / 0.8566 GB, free: 9.875 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005421/0.9136, allocations: 185.6 kB / 0.8567 GB, free: 9.691 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.032e-05/0.9136, allocations: 3.938 kB / 0.8567 GB, free: 9.688 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003548/0.9172, allocations: 2.184 MB / 0.8589 GB, free: 7.363 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.9172, allocations: 4.031 kB / 0.8589 GB, free: 7.359 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002519/0.9197, allocations: 0.7081 MB / 0.8596 GB, free: 6.625 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003254/0.9201, allocations: 168.7 kB / 0.8597 GB, free: 6.441 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.589e-05/0.9201, allocations: 7.938 kB / 0.8597 GB, free: 6.434 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006049/0.9207, allocations: 47.94 kB / 0.8598 GB, free: 6.387 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.955e-05/0.9208, allocations: 15.98 kB / 0.8598 GB, free: 6.371 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.004e-05/0.9209, allocations: 11.98 kB / 0.8598 GB, free: 6.359 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0004824/0.9214, allocations: 394.8 kB / 0.8602 GB, free: 5.977 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.51e-07/0.9214, allocations: 0 / 0.8602 GB, free: 5.977 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.000686/0.9221, allocations: 179.8 kB / 0.8604 GB, free: 5.801 MB / 0.6231 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.003157/0.9252, allocations: 1.327 MB / 0.8616 GB, free: 4.453 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001601/0.9268, allocations: 0.5348 MB / 0.8622 GB, free: 3.906 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 4.018e-06/0.9269, allocations: 0 / 0.8622 GB, free: 3.906 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0007056/0.9276, allocations: 299 kB / 0.8625 GB, free: 3.602 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001496/0.9291, allocations: 303.5 kB / 0.8627 GB, free: 3.309 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01138/0.9405, allocations: 5.081 MB / 0.8677 GB, free: 14.06 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003904/0.9409, allocations: 0.8698 MB / 0.8686 GB, free: 13.16 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.00044/0.9414, allocations: 108.4 kB / 0.8687 GB, free: 13.06 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002175/0.9416, allocations: 163.4 kB / 0.8688 GB, free: 12.9 MB / 0.6387 GB Notification: Performance of SimCode: time 4.41e-07/0.9416, allocations: 0 / 0.8688 GB, free: 12.9 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04222/0.9838, allocations: 16.9 MB / 0.8853 GB, free: 12.33 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.46/12.45, allocations: 16.7 kB / 0.8853 GB, free: 12.32 MB / 0.6544 GB (rm -f IDEAS_dev_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.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 IDEAS_dev_IDEAS_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate.fmu > IDEAS_dev_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe 2>&1)