Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolume.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.Validation.MixingVolume,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_MixingVolume",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.Validation.MixingVolume,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_MixingVolume",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.007523/0.007523, allocations: 100.6 kB / 15.73 MB, free: 6.008 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.001835/0.001835, allocations: 189.8 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.4/1.4, 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-master/package.mo): time 0.8481/0.8481, allocations: 135.6 MB / 426.1 MB, free: 3.66 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00179/0.00179, allocations: 71.66 kB / 0.5857 GB, free: 21.45 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1669/0.1687, allocations: 81.02 MB / 0.6649 GB, free: 5.602 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MixingVolume): time 0.6292/0.7979, allocations: 242.4 MB / 0.9016 GB, free: 11.93 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.02592/0.8238, allocations: 15.9 MB / 0.9171 GB, free: 11.99 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003403/0.8273, allocations: 79.5 kB / 0.9172 GB, free: 11.91 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.003693/0.831, allocations: 1.181 MB / 0.9183 GB, free: 10.73 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.01045/0.8415, allocations: 3.811 MB / 0.922 GB, free: 6.902 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.005021/0.8466, allocations: 1.813 MB / 0.9238 GB, free: 5.102 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.007867/0.8544, allocations: 5.241 MB / 0.9289 GB, free: 15.85 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002616/0.8571, allocations: 1.668 MB / 0.9306 GB, free: 14.14 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005733/0.8628, allocations: 2.611 MB / 0.9331 GB, free: 11.52 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003701/0.8665, allocations: 1.697 MB / 0.9348 GB, free: 9.828 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.0004274/0.867, allocations: 180 kB / 0.9349 GB, free: 9.652 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005732/0.8727, allocations: 2.705 MB / 0.9376 GB, free: 6.941 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.001002/0.8737, allocations: 0.7673 MB / 0.9383 GB, free: 6.172 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.001705/0.8755, allocations: 1.147 MB / 0.9394 GB, free: 5.02 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.00633/0.8818, allocations: 3.593 MB / 0.943 GB, free: 1.414 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.8818, allocations: 0 / 0.943 GB, free: 1.414 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.994e-06/0.8818, allocations: 0 / 0.943 GB, free: 1.414 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 4.029e-05/0.8819, allocations: 0 / 0.943 GB, free: 1.414 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: 363 * Number of variables: 363 Notification: Performance of Generate backend data structure: time 0.004655/0.8865, allocations: 2.57 MB / 0.9455 GB, free: 14.79 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.636e-05/0.8866, allocations: 9.109 kB / 0.9455 GB, free: 14.78 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002766/0.8869, allocations: 215.1 kB / 0.9457 GB, free: 14.56 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002949/0.8898, allocations: 0.5138 MB / 0.9462 GB, free: 14.04 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002425/0.8923, allocations: 1.376 MB / 0.9475 GB, free: 12.61 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001799/0.8925, allocations: 182.2 kB / 0.9477 GB, free: 12.42 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002231/0.8927, allocations: 151.9 kB / 0.9478 GB, free: 12.27 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002984/0.8957, allocations: 1.735 MB / 0.9495 GB, free: 10.46 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.771e-05/0.8957, allocations: 11.92 kB / 0.9496 GB, free: 10.45 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001398/0.8959, allocations: 60 kB / 0.9496 GB, free: 10.39 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.331e-05/0.896, allocations: 62.69 kB / 0.9497 GB, free: 10.33 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002562/0.8985, allocations: 1.373 MB / 0.951 GB, free: 8.953 MB / 0.7169 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.01004/0.9086, allocations: 8.196 MB / 0.959 GB, free: 60 kB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001587/0.9102, allocations: 0.9081 MB / 0.9599 GB, free: 15.14 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009154/0.9111, allocations: 0.5302 MB / 0.9604 GB, free: 14.61 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006412/0.9118, allocations: 316.5 kB / 0.9607 GB, free: 14.25 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.958e-05/0.9118, allocations: 51.56 kB / 0.9608 GB, free: 14.19 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=96): time 2.735e-06/0.9119, allocations: 0 / 0.9608 GB, free: 14.19 MB / 0.7325 GB Notification: Performance of matching and sorting (n=102): time 0.00696/0.9188, allocations: 3.135 MB / 0.9638 GB, free: 11 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.777e-05/0.9189, allocations: 64.41 kB / 0.9639 GB, free: 10.93 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001687/0.9206, allocations: 1.262 MB / 0.9651 GB, free: 9.656 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 9.826e-05/0.9207, allocations: 49.7 kB / 0.9652 GB, free: 9.602 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006723/0.9214, allocations: 0.8267 MB / 0.966 GB, free: 8.766 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003469/0.9217, allocations: 388.6 kB / 0.9663 GB, free: 8.383 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003433/0.9221, allocations: 222.9 kB / 0.9666 GB, free: 8.16 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.000173/0.9223, allocations: 353.9 kB / 0.9669 GB, free: 7.809 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008636/0.9231, allocations: 449.8 kB / 0.9673 GB, free: 7.367 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001225/0.9244, allocations: 0.8274 MB / 0.9681 GB, free: 6.371 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002032/0.9264, allocations: 1.252 MB / 0.9694 GB, free: 4.992 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.841e-06/0.9264, allocations: 4 kB / 0.9694 GB, free: 4.988 MB / 0.7325 GB Notification: Performance of matching and sorting (n=150) (initialization): time 0.00263/0.9291, allocations: 1.41 MB / 0.9707 GB, free: 3.574 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.627e-05/0.9291, allocations: 15.98 kB / 0.9708 GB, free: 3.559 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.638e-05/0.9291, allocations: 8 kB / 0.9708 GB, free: 3.551 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.885e-05/0.9292, allocations: 16 kB / 0.9708 GB, free: 3.535 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001123/0.9303, allocations: 272.4 kB / 0.971 GB, free: 3.27 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.516e-05/0.9303, allocations: 26.34 kB / 0.9711 GB, free: 3.246 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001311/0.9316, allocations: 70.62 kB / 0.9711 GB, free: 3.18 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.679e-05/0.9318, allocations: 55.98 kB / 0.9712 GB, free: 3.125 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001433/0.9332, allocations: 0.7756 MB / 0.9719 GB, free: 2.348 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001189/0.9344, allocations: 0.8235 MB / 0.9727 GB, free: 1.352 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002009/0.9364, allocations: 1.225 MB / 0.9739 GB, free: 0 / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.176e-06/0.9365, allocations: 8.047 kB / 0.9739 GB, free: 15.99 MB / 0.7481 GB Notification: Performance of matching and sorting (n=150) (initialization_lambda0): time 0.002573/0.939, allocations: 1.399 MB / 0.9753 GB, free: 14.58 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.571e-05/0.9391, allocations: 12.06 kB / 0.9753 GB, free: 14.57 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.082e-05/0.9391, allocations: 8 kB / 0.9753 GB, free: 14.56 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.033e-05/0.9391, allocations: 17.12 kB / 0.9754 GB, free: 14.55 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001105/0.9402, allocations: 271.6 kB / 0.9756 GB, free: 14.28 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.191e-05/0.9403, allocations: 23.92 kB / 0.9756 GB, free: 14.26 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00129/0.9415, allocations: 74.34 kB / 0.9757 GB, free: 14.19 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.614e-05/0.9416, allocations: 48 kB / 0.9757 GB, free: 14.14 MB / 0.7481 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * Number of states: 0 () * Number of discrete variables: 4 (vol.regularFlow[1],vol.regularFlow[2],vol.inFlow[2],vol.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (150): * Single equations (assignments): 150 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003412/0.942, allocations: 273.1 kB / 0.976 GB, free: 13.87 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002638/0.9423, allocations: 170.9 kB / 0.9762 GB, free: 13.7 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002369/0.9446, allocations: 1.149 MB / 0.9773 GB, free: 12.54 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.106e-05/0.9447, allocations: 12 kB / 0.9773 GB, free: 12.53 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.112e-06/0.9447, allocations: 0 / 0.9773 GB, free: 12.53 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001873/0.9466, allocations: 1.087 MB / 0.9784 GB, free: 11.39 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004922/0.9515, allocations: 2.785 MB / 0.9811 GB, free: 8.531 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.424e-06/0.9515, allocations: 224 / 0.9811 GB, free: 8.531 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001205/0.9527, allocations: 251.7 kB / 0.9813 GB, free: 8.285 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.263e-05/0.9528, allocations: 8 kB / 0.9813 GB, free: 8.277 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.22e-05/0.9528, allocations: 27.98 kB / 0.9814 GB, free: 8.25 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.205e-06/0.9528, allocations: 4 kB / 0.9814 GB, free: 8.246 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.282e-06/0.9529, allocations: 7.938 kB / 0.9814 GB, free: 8.238 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003251/0.9561, allocations: 1.831 MB / 0.9832 GB, free: 6.371 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000717/0.9568, allocations: 343.9 kB / 0.9835 GB, free: 6.016 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001819/0.957, allocations: 24 kB / 0.9835 GB, free: 5.992 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009653/0.958, allocations: 51.94 kB / 0.9836 GB, free: 5.941 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001522/0.9582, allocations: 64.92 kB / 0.9836 GB, free: 5.875 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.155e-05/0.9582, allocations: 47.91 kB / 0.9837 GB, free: 5.828 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.001281/0.9595, allocations: 0.8387 MB / 0.9845 GB, free: 4.992 MB / 0.7481 GB Notification: Performance of sort global known variables: time 2e-07/0.9595, allocations: 0 / 0.9845 GB, free: 4.992 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.001928/0.9615, allocations: 0.7655 MB / 0.9852 GB, free: 4.227 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 9 (vol1.dynBal.U,vol1.dynBal.m,vol1.dynBal.mXi[1],vol.medium.Xi[1],vol.medium.T,vol.m,vol2.dynBal.U,vol2.dynBal.m,vol2.dynBal.mXi[1]) * 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 (102): * Single equations (assignments): 102 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003954/0.9654, allocations: 2.539 MB / 0.9877 GB, free: 1.648 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.003337/0.9688, allocations: 1.736 MB / 0.9894 GB, free: 15.92 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 4.638e-06/0.9688, allocations: 0.5625 kB / 0.9894 GB, free: 15.92 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.0009243/0.9697, allocations: 0.5209 MB / 0.9899 GB, free: 15.4 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003903/0.9736, allocations: 0.908 MB / 0.9908 GB, free: 14.5 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01833/0.992, allocations: 12.02 MB / 1.003 GB, free: 1.98 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001195/0.9932, allocations: 1.445 MB / 1.004 GB, free: 0.5039 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.001933/0.9952, allocations: 0.56 MB / 1.005 GB, free: 15.94 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009538/0.9961, allocations: 0.6789 MB / 1.005 GB, free: 15.26 MB / 0.7794 GB Notification: Performance of SimCode: time 2.385e-06/0.9961, allocations: 4 kB / 1.005 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09142/1.088, allocations: 45.06 MB / 1.049 GB, free: 2.656 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.46/11.55, allocations: 15.41 kB / 1.049 GB, free: 2.648 MB / 0.8106 GB (rm -f IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolume.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolume.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolume.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolume.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolume_res.csv --start-time 0 --stop-time 2 --timeout 50 --relative-tolerance 1e-09 --interface-type ModelExchange --solver CVode --output-interval 0.0008 IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_MixingVolume.fmu > IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolume.pipe 2>&1)