Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate,fileNamePrefix="IDEAS_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.007446/0.007446, allocations: 100.6 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.001736/0.001736, allocations: 190 kB / 16.67 MB, free: 5.934 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.415/1.415, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.768/0.768, allocations: 132.2 MB / 422.7 MB, free: 6.539 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001241/0.001241, allocations: 62.72 kB / 0.5808 GB, free: 24.12 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1595/0.1608, allocations: 80.21 MB / 0.6592 GB, free: 10.9 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate): time 0.5829/0.7438, allocations: 171 MB / 0.8261 GB, free: 3.148 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.006832/0.7506, allocations: 4.281 MB / 0.8303 GB, free: 15.68 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001024/0.7517, allocations: 22.53 kB / 0.8303 GB, free: 15.67 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001143/0.7529, allocations: 363.4 kB / 0.8307 GB, free: 15.38 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.002725/0.7557, allocations: 1.029 MB / 0.8317 GB, free: 14.59 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.002243/0.7579, allocations: 0.8225 MB / 0.8325 GB, free: 13.99 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001825/0.7598, allocations: 1.299 MB / 0.8338 GB, free: 13.25 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006508/0.7604, allocations: 475.5 kB / 0.8342 GB, free: 12.97 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001263/0.7617, allocations: 0.7111 MB / 0.8349 GB, free: 12.54 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009934/0.7627, allocations: 446.3 kB / 0.8353 GB, free: 12.29 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 8.067e-05/0.7628, allocations: 52.72 kB / 0.8354 GB, free: 12.29 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001629/0.7644, allocations: 0.9132 MB / 0.8363 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.000223/0.7647, allocations: 213.9 kB / 0.8365 GB, free: 11.64 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0003337/0.765, allocations: 329.8 kB / 0.8368 GB, free: 11.44 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001582/0.7666, allocations: 1.141 MB / 0.8379 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.99e-06/0.7666, allocations: 0 / 0.8379 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.884e-06/0.7666, allocations: 0 / 0.8379 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 9.638e-06/0.7666, allocations: 1.812 kB / 0.8379 GB, free: 10.71 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.001653/0.7683, allocations: 0.9706 MB / 0.8389 GB, free: 9.922 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.77e-05/0.7683, allocations: 10.84 kB / 0.8389 GB, free: 9.922 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.437e-05/0.7684, allocations: 81.38 kB / 0.8389 GB, free: 9.848 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001641/0.7701, allocations: 267.8 kB / 0.8392 GB, free: 9.73 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009016/0.771, allocations: 0.4971 MB / 0.8397 GB, free: 9.301 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.153e-05/0.771, allocations: 37.95 kB / 0.8397 GB, free: 9.281 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.699e-05/0.7711, allocations: 44.17 kB / 0.8398 GB, free: 9.266 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001206/0.7723, allocations: 0.6127 MB / 0.8404 GB, free: 8.883 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.469e-05/0.7724, allocations: 0 / 0.8404 GB, free: 8.883 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.719e-05/0.7724, allocations: 23.38 kB / 0.8404 GB, free: 8.867 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.837e-05/0.7725, allocations: 16.44 kB / 0.8404 GB, free: 8.867 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001344/0.7738, allocations: 0.5521 MB / 0.8409 GB, free: 8.598 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.003807/0.7776, allocations: 2.271 MB / 0.8432 GB, free: 6.754 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009028/0.7785, allocations: 278.8 kB / 0.8434 GB, free: 6.609 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005303/0.7791, allocations: 163 kB / 0.8436 GB, free: 6.531 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.78e-05/0.7791, allocations: 4 kB / 0.8436 GB, free: 6.527 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.219e-05/0.7792, allocations: 43.44 kB / 0.8436 GB, free: 6.48 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=11): time 2.365e-06/0.7792, allocations: 0 / 0.8436 GB, free: 6.48 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11): time 0.005201/0.7844, allocations: 1.097 MB / 0.8447 GB, free: 5.883 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.388e-05/0.7845, allocations: 77.11 kB / 0.8448 GB, free: 5.789 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006663/0.7851, allocations: 0.5557 MB / 0.8453 GB, free: 5.453 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 5.498e-05/0.7852, allocations: 31.7 kB / 0.8453 GB, free: 5.418 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002201/0.7854, allocations: 305.2 kB / 0.8456 GB, free: 5.148 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.792e-05/0.7855, allocations: 39.16 kB / 0.8457 GB, free: 5.117 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001188/0.7856, allocations: 64.61 kB / 0.8457 GB, free: 5.07 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001408/0.7858, allocations: 355.1 kB / 0.8461 GB, free: 4.727 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005803/0.7863, allocations: 189.7 kB / 0.8463 GB, free: 4.637 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006232/0.787, allocations: 276.9 kB / 0.8465 GB, free: 4.438 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001092/0.7881, allocations: 406 kB / 0.8469 GB, free: 4.191 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/0.7881, allocations: 0 / 0.8469 GB, free: 4.191 MB / 0.6075 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.002593/0.7907, allocations: 0.7309 MB / 0.8476 GB, free: 3.816 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.992e-05/0.7907, allocations: 6.719 kB / 0.8476 GB, free: 3.816 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.356e-06/0.7907, allocations: 2.438 kB / 0.8476 GB, free: 3.816 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006118/0.7914, allocations: 185.5 kB / 0.8478 GB, free: 3.73 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003691/0.7917, allocations: 73.97 kB / 0.8479 GB, free: 3.711 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00396/0.7957, allocations: 2.236 MB / 0.8501 GB, free: 1.805 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006994/0.7964, allocations: 76.03 kB / 0.8501 GB, free: 1.762 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.725e-05/0.7965, allocations: 7.688 kB / 0.8501 GB, free: 1.762 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.0003023/0.7968, allocations: 185.1 kB / 0.8503 GB, free: 1.605 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000108/0.7969, allocations: 70.84 kB / 0.8504 GB, free: 1.562 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.06e-05/0.797, allocations: 43.64 kB / 0.8504 GB, free: 1.535 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.424e-06/0.797, allocations: 10.22 kB / 0.8504 GB, free: 1.527 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.114e-06/0.797, allocations: 0 / 0.8504 GB, free: 1.527 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.797, allocations: 3.984 kB / 0.8504 GB, free: 1.523 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002957/0.8, allocations: 1.136 MB / 0.8515 GB, free: 0.6953 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.448e-06/0.8, allocations: 0 / 0.8515 GB, free: 0.6953 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002406/0.8002, allocations: 40.02 kB / 0.8516 GB, free: 0.6562 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005265/0.8008, allocations: 181.3 kB / 0.8518 GB, free: 488 kB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.458e-05/0.8008, allocations: 11.92 kB / 0.8518 GB, free: 476 kB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003499/0.8043, allocations: 2.182 MB / 0.8539 GB, free: 14.14 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.507e-06/0.8044, allocations: 4.031 kB / 0.8539 GB, free: 14.13 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002518/0.8069, allocations: 0.6992 MB / 0.8546 GB, free: 13.41 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003596/0.8073, allocations: 172.7 kB / 0.8548 GB, free: 13.22 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.966e-05/0.8073, allocations: 11.86 kB / 0.8548 GB, free: 13.21 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005858/0.8079, allocations: 49.52 kB / 0.8548 GB, free: 13.16 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.785e-05/0.808, allocations: 11.98 kB / 0.8548 GB, free: 13.15 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.038e-05/0.8081, allocations: 15.98 kB / 0.8548 GB, free: 13.14 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0005103/0.8086, allocations: 398.8 kB / 0.8552 GB, free: 12.75 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.21e-07/0.8086, allocations: 0 / 0.8552 GB, free: 12.75 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0007021/0.8093, allocations: 179.8 kB / 0.8554 GB, free: 12.57 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.003041/0.8124, allocations: 1.311 MB / 0.8567 GB, free: 11.24 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001643/0.814, allocations: 0.5424 MB / 0.8572 GB, free: 10.69 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 6.743e-06/0.814, allocations: 0 / 0.8572 GB, free: 10.69 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0007224/0.8148, allocations: 298.6 kB / 0.8575 GB, free: 10.39 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001565/0.8163, allocations: 300.2 kB / 0.8578 GB, free: 10.1 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01137/0.8277, allocations: 5.084 MB / 0.8627 GB, free: 4.855 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003997/0.8282, allocations: 0.8736 MB / 0.8636 GB, free: 3.953 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0004731/0.8287, allocations: 100.5 kB / 0.8637 GB, free: 3.855 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002316/0.8289, allocations: 163.4 kB / 0.8638 GB, free: 3.695 MB / 0.6231 GB Notification: Performance of SimCode: time 1.292e-06/0.8289, allocations: 4 kB / 0.8638 GB, free: 3.691 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04685/0.8758, allocations: 16.89 MB / 0.8803 GB, free: 3.129 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.87/12.75, allocations: 15.94 kB / 0.8803 GB, free: 3.113 MB / 0.6387 GB (rm -f IDEAS_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; mkfifo IDEAS_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe >> ../files/IDEAS_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.sim & python3 -m fmpy simulate --output-file IDEAS_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_IDEAS_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate.fmu > IDEAS_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe 2>&1)