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.00564/0.00564, allocations: 98.64 kB / 15.73 MB, free: 5.602 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.001238/0.001238, allocations: 196.2 kB / 16.68 MB, free: 5.523 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.381/1.381, 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.8566/0.8566, allocations: 132.2 MB / 422.7 MB, free: 6.531 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001842/0.001842, allocations: 69.48 kB / 0.5808 GB, free: 24.14 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.169/0.1709, allocations: 80.21 MB / 0.6592 GB, free: 10.78 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate): time 0.6522/0.8231, allocations: 171 MB / 0.8261 GB, free: 3.098 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.007144/0.8303, allocations: 4.275 MB / 0.8303 GB, free: 15.63 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008725/0.8312, allocations: 22.97 kB / 0.8303 GB, free: 15.62 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001088/0.8323, allocations: 343 kB / 0.8307 GB, free: 15.35 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.002696/0.8351, allocations: 0.9969 MB / 0.8316 GB, free: 14.57 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.002345/0.8374, allocations: 0.8159 MB / 0.8324 GB, free: 13.98 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001882/0.8393, allocations: 1.286 MB / 0.8337 GB, free: 13.25 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006919/0.84, allocations: 484.5 kB / 0.8342 GB, free: 12.96 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00138/0.8414, allocations: 0.6849 MB / 0.8348 GB, free: 12.55 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001025/0.8424, allocations: 457.1 kB / 0.8353 GB, free: 12.29 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 9.306e-05/0.8426, allocations: 50.53 kB / 0.8353 GB, free: 12.29 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001984/0.8445, allocations: 0.9089 MB / 0.8362 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0003473/0.8449, allocations: 217.7 kB / 0.8364 GB, free: 11.64 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0004787/0.8454, allocations: 322.3 kB / 0.8367 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.002164/0.8476, allocations: 1.141 MB / 0.8378 GB, free: 10.72 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.83e-06/0.8476, allocations: 2.781 kB / 0.8378 GB, free: 10.72 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.744e-06/0.8476, allocations: 0 / 0.8378 GB, free: 10.72 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.081e-05/0.8476, allocations: 0 / 0.8378 GB, free: 10.72 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.001831/0.8494, allocations: 0.9667 MB / 0.8388 GB, free: 9.934 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.705e-05/0.8495, allocations: 18.05 kB / 0.8388 GB, free: 9.926 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001173/0.8496, allocations: 81.34 kB / 0.8389 GB, free: 9.852 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001592/0.8512, allocations: 267.5 kB / 0.8391 GB, free: 9.734 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009707/0.8522, allocations: 0.4976 MB / 0.8396 GB, free: 9.305 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.89e-05/0.8523, allocations: 30.16 kB / 0.8396 GB, free: 9.293 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.498e-05/0.8523, allocations: 39.47 kB / 0.8397 GB, free: 9.281 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001344/0.8537, allocations: 0.6205 MB / 0.8403 GB, free: 8.891 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.734e-05/0.8537, allocations: 2.781 kB / 0.8403 GB, free: 8.891 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.178e-05/0.8538, allocations: 16.66 kB / 0.8403 GB, free: 8.879 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.502e-05/0.8538, allocations: 16.5 kB / 0.8403 GB, free: 8.879 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001463/0.8553, allocations: 0.5482 MB / 0.8409 GB, free: 8.613 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.004198/0.8595, allocations: 2.28 MB / 0.8431 GB, free: 6.762 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009235/0.8604, allocations: 274.7 kB / 0.8433 GB, free: 6.621 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005546/0.861, allocations: 170.1 kB / 0.8435 GB, free: 6.535 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.765e-05/0.861, allocations: 2.594 kB / 0.8435 GB, free: 6.535 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.36e-05/0.8611, allocations: 42.09 kB / 0.8435 GB, free: 6.488 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=11): time 2.484e-06/0.8611, allocations: 0 / 0.8435 GB, free: 6.488 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11): time 0.0051/0.8662, allocations: 1.093 MB / 0.8446 GB, free: 5.895 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.095e-05/0.8663, allocations: 77.11 kB / 0.8447 GB, free: 5.801 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006598/0.8669, allocations: 0.5524 MB / 0.8452 GB, free: 5.469 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 5.295e-05/0.867, allocations: 31.8 kB / 0.8453 GB, free: 5.434 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002612/0.8673, allocations: 305.1 kB / 0.8456 GB, free: 5.164 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.962e-05/0.8673, allocations: 43.19 kB / 0.8456 GB, free: 5.129 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001235/0.8675, allocations: 63.89 kB / 0.8457 GB, free: 5.082 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001934/0.8677, allocations: 355.7 kB / 0.846 GB, free: 4.738 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005863/0.8682, allocations: 189.6 kB / 0.8462 GB, free: 4.648 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000644/0.8689, allocations: 272.5 kB / 0.8464 GB, free: 4.453 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001115/0.87, allocations: 406.7 kB / 0.8468 GB, free: 4.207 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.87, allocations: 3.938 kB / 0.8468 GB, free: 4.203 MB / 0.6075 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.00259/0.8726, allocations: 0.7344 MB / 0.8475 GB, free: 3.824 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.047e-05/0.8727, allocations: 5.125 kB / 0.8475 GB, free: 3.824 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.796e-06/0.8727, allocations: 10.44 kB / 0.8476 GB, free: 3.82 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000627/0.8733, allocations: 192.9 kB / 0.8477 GB, free: 3.727 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003409/0.8737, allocations: 62.67 kB / 0.8478 GB, free: 3.715 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00399/0.8777, allocations: 2.236 MB / 0.85 GB, free: 1.812 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006365/0.8783, allocations: 80.17 kB / 0.8501 GB, free: 1.766 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.708e-05/0.8784, allocations: 7.875 kB / 0.8501 GB, free: 1.766 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.0003174/0.8787, allocations: 185 kB / 0.8502 GB, free: 1.609 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001013/0.8788, allocations: 57.83 kB / 0.8503 GB, free: 1.578 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.81e-05/0.8789, allocations: 53.56 kB / 0.8504 GB, free: 1.543 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/0.8789, allocations: 6.5 kB / 0.8504 GB, free: 1.539 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.8789, allocations: 7.984 kB / 0.8504 GB, free: 1.531 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.8789, allocations: 0 / 0.8504 GB, free: 1.531 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003027/0.8819, allocations: 1.134 MB / 0.8515 GB, free: 0.7305 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.287e-06/0.882, allocations: 0 / 0.8515 GB, free: 0.7305 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002365/0.8822, allocations: 38.36 kB / 0.8515 GB, free: 0.6992 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005466/0.8828, allocations: 180.8 kB / 0.8517 GB, free: 0.5195 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.255e-05/0.8828, allocations: 3.938 kB / 0.8517 GB, free: 0.5156 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003753/0.8866, allocations: 2.188 MB / 0.8538 GB, free: 14.18 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.8866, allocations: 0 / 0.8538 GB, free: 14.18 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002566/0.8891, allocations: 0.7004 MB / 0.8545 GB, free: 13.45 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002978/0.8895, allocations: 176.7 kB / 0.8547 GB, free: 13.26 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.922e-05/0.8895, allocations: 7.875 kB / 0.8547 GB, free: 13.25 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000559/0.8901, allocations: 51.94 kB / 0.8547 GB, free: 13.2 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.029e-05/0.8902, allocations: 15.98 kB / 0.8547 GB, free: 13.19 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.067e-05/0.8902, allocations: 11.98 kB / 0.8548 GB, free: 13.18 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0005164/0.8907, allocations: 394.9 kB / 0.8551 GB, free: 12.79 MB / 0.6231 GB Notification: Performance of sort global known variables: time 4.11e-07/0.8908, allocations: 3.938 kB / 0.8551 GB, free: 12.79 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0006771/0.8914, allocations: 179.8 kB / 0.8553 GB, free: 12.61 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.003248/0.8947, allocations: 1.313 MB / 0.8566 GB, free: 11.28 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001736/0.8964, allocations: 0.5397 MB / 0.8571 GB, free: 10.73 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 4.618e-06/0.8965, allocations: 0 / 0.8571 GB, free: 10.73 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0007539/0.8972, allocations: 299 kB / 0.8574 GB, free: 10.43 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001522/0.8987, allocations: 299.3 kB / 0.8577 GB, free: 10.14 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01232/0.9111, allocations: 5.09 MB / 0.8627 GB, free: 4.891 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005516/0.9117, allocations: 0.862 MB / 0.8635 GB, free: 4 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0004804/0.9122, allocations: 108.5 kB / 0.8636 GB, free: 3.895 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002525/0.9124, allocations: 165.1 kB / 0.8638 GB, free: 3.734 MB / 0.6231 GB Notification: Performance of SimCode: time 7.01e-07/0.9124, allocations: 0 / 0.8638 GB, free: 3.734 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05404/0.9665, allocations: 16.89 MB / 0.8803 GB, free: 3.16 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.96/12.92, allocations: 20.41 kB / 0.8803 GB, free: 3.145 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)