Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.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.MixingVolumeInitialization,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeInitialization",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeInitialization,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeInitialization",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.00108/0.00108, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001162/0.001162, allocations: 195.6 kB / 16.53 MB, free: 6.664 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.313/1.313, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9114/0.9114, allocations: 135.1 MB / 425.5 MB, free: 11.96 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001266/0.001266, allocations: 59.25 kB / 0.5054 GB, free: 5.266 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1324/0.1337, allocations: 80.92 MB / 0.5845 GB, free: 4.508 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeInitialization): time 0.4085/0.5422, allocations: 187.8 MB / 0.7679 GB, free: 1.082 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01438/0.5567, allocations: 10.75 MB / 0.7784 GB, free: 6.297 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001313/0.558, allocations: 39.75 kB / 0.7784 GB, free: 6.258 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001589/0.5597, allocations: 497 kB / 0.7789 GB, free: 5.77 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.006459/0.5661, allocations: 2.579 MB / 0.7814 GB, free: 3.18 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.006128/0.5723, allocations: 2.446 MB / 0.7838 GB, free: 0.7461 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.003486/0.5758, allocations: 2.771 MB / 0.7865 GB, free: 13.97 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00116/0.577, allocations: 0.782 MB / 0.7873 GB, free: 13.18 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001639/0.5786, allocations: 0.9887 MB / 0.7882 GB, free: 12.19 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001999/0.5806, allocations: 1.055 MB / 0.7893 GB, free: 11.13 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0002705/0.5809, allocations: 100 kB / 0.7894 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005319/0.5862, allocations: 2.997 MB / 0.7923 GB, free: 8.031 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0005425/0.5868, allocations: 442.8 kB / 0.7927 GB, free: 7.598 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.001001/0.5878, allocations: 0.5794 MB / 0.7933 GB, free: 7.016 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.004897/0.5927, allocations: 2.934 MB / 0.7962 GB, free: 4.074 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.5927, allocations: 0 / 0.7962 GB, free: 4.074 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.583e-06/0.5927, allocations: 0 / 0.7962 GB, free: 4.074 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.818e-05/0.5928, allocations: 3.938 kB / 0.7962 GB, free: 4.07 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: 173 * Number of variables: 173 Notification: Performance of Generate backend data structure: time 0.00373/0.5965, allocations: 1.679 MB / 0.7978 GB, free: 2.336 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.601e-05/0.5966, allocations: 8.031 kB / 0.7978 GB, free: 2.328 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001587/0.5967, allocations: 122.5 kB / 0.7979 GB, free: 2.199 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001876/0.5986, allocations: 298.3 kB / 0.7982 GB, free: 1.906 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001315/0.6, allocations: 0.7719 MB / 0.799 GB, free: 1.098 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.004e-05/0.6, allocations: 61.28 kB / 0.799 GB, free: 1.039 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001299/0.6002, allocations: 67.97 kB / 0.7991 GB, free: 0.9727 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001581/0.6018, allocations: 0.9922 MB / 0.8001 GB, free: 15.96 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.284e-05/0.6018, allocations: 7.922 kB / 0.8001 GB, free: 15.96 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.065e-05/0.6019, allocations: 23.98 kB / 0.8001 GB, free: 15.93 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.252e-05/0.602, allocations: 77.89 kB / 0.8002 GB, free: 15.86 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001603/0.6036, allocations: 1.007 MB / 0.8011 GB, free: 14.85 MB / 0.6231 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.005794/0.6094, allocations: 3.582 MB / 0.8046 GB, free: 11.03 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001003/0.6104, allocations: 0.6702 MB / 0.8053 GB, free: 10.36 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005417/0.611, allocations: 373 kB / 0.8056 GB, free: 9.992 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002852/0.6113, allocations: 198.8 kB / 0.8058 GB, free: 9.758 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.177e-05/0.6113, allocations: 43.59 kB / 0.8059 GB, free: 9.707 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=62): time 2.364e-06/0.6113, allocations: 3.938 kB / 0.8059 GB, free: 9.703 MB / 0.6231 GB Notification: Performance of matching and sorting (n=62): time 0.001953/0.6133, allocations: 1.021 MB / 0.8069 GB, free: 8.68 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.52e-05/0.6134, allocations: 107.4 kB / 0.807 GB, free: 8.551 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009835/0.6143, allocations: 0.8058 MB / 0.8078 GB, free: 7.738 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 6.227e-05/0.6144, allocations: 41.7 kB / 0.8078 GB, free: 7.691 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003141/0.6147, allocations: 428 kB / 0.8082 GB, free: 7.266 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002025/0.615, allocations: 220.8 kB / 0.8084 GB, free: 7.047 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002601/0.6152, allocations: 138.6 kB / 0.8086 GB, free: 6.906 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001393/0.6154, allocations: 337.9 kB / 0.8089 GB, free: 6.57 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005636/0.6159, allocations: 344.7 kB / 0.8092 GB, free: 6.23 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006279/0.6166, allocations: 473.5 kB / 0.8097 GB, free: 5.734 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001105/0.6177, allocations: 0.7587 MB / 0.8104 GB, free: 4.949 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.729e-06/0.6177, allocations: 4 kB / 0.8104 GB, free: 4.945 MB / 0.6231 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001503/0.6192, allocations: 0.9295 MB / 0.8113 GB, free: 4.008 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.688e-05/0.6192, allocations: 4 kB / 0.8113 GB, free: 4.004 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.546e-06/0.6193, allocations: 4 kB / 0.8113 GB, free: 4 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.714e-05/0.6193, allocations: 4 kB / 0.8113 GB, free: 3.996 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007305/0.62, allocations: 159.7 kB / 0.8115 GB, free: 3.84 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.384e-05/0.62, allocations: 4.547 kB / 0.8115 GB, free: 3.836 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007879/0.6208, allocations: 79.48 kB / 0.8116 GB, free: 3.758 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.665e-05/0.6209, allocations: 31.98 kB / 0.8116 GB, free: 3.727 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007801/0.6217, allocations: 0.537 MB / 0.8121 GB, free: 3.188 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005966/0.6223, allocations: 456.8 kB / 0.8126 GB, free: 2.699 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001042/0.6234, allocations: 0.737 MB / 0.8133 GB, free: 1.93 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.168e-06/0.6234, allocations: 3.938 kB / 0.8133 GB, free: 1.926 MB / 0.6231 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.001411/0.6248, allocations: 0.8826 MB / 0.8141 GB, free: 1.035 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.104e-05/0.6248, allocations: 6.156 kB / 0.8141 GB, free: 1.031 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.6248, allocations: 10.06 kB / 0.8142 GB, free: 1.023 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.777e-06/0.6248, allocations: 8 kB / 0.8142 GB, free: 1.016 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006759/0.6255, allocations: 147.8 kB / 0.8143 GB, free: 0.8711 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.518e-06/0.6255, allocations: 7.938 kB / 0.8143 GB, free: 0.8633 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000755/0.6263, allocations: 63.5 kB / 0.8144 GB, free: 0.8008 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.107e-05/0.6264, allocations: 28 kB / 0.8144 GB, free: 0.7734 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 (88): * Single equations (assignments): 88 * 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.000193/0.6266, allocations: 224.1 kB / 0.8146 GB, free: 0.5469 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001605/0.6267, allocations: 90.88 kB / 0.8147 GB, free: 468 kB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001333/0.6281, allocations: 0.8047 MB / 0.8155 GB, free: 15.64 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.442e-06/0.6281, allocations: 4 kB / 0.8155 GB, free: 15.64 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.6281, allocations: 4 kB / 0.8155 GB, free: 15.63 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009883/0.6291, allocations: 0.7478 MB / 0.8162 GB, free: 14.86 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002951/0.6321, allocations: 2.097 MB / 0.8183 GB, free: 12.65 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.416e-06/0.6321, allocations: 7.984 kB / 0.8183 GB, free: 12.64 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006733/0.6328, allocations: 135.8 kB / 0.8184 GB, free: 12.51 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.995e-06/0.6328, allocations: 4 kB / 0.8184 GB, free: 12.51 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.927e-05/0.6328, allocations: 18.81 kB / 0.8184 GB, free: 12.49 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.43e-05/0.6328, allocations: 15.92 kB / 0.8184 GB, free: 12.48 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.948e-06/0.6329, allocations: 4 kB / 0.8184 GB, free: 12.47 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001794/0.6347, allocations: 1.391 MB / 0.8198 GB, free: 11.02 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000358/0.635, allocations: 251.8 kB / 0.82 GB, free: 10.76 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001572/0.6352, allocations: 20 kB / 0.8201 GB, free: 10.74 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005873/0.6358, allocations: 27.17 kB / 0.8201 GB, free: 10.71 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.054e-05/0.6359, allocations: 52.25 kB / 0.8201 GB, free: 10.66 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.719e-05/0.6359, allocations: 20 kB / 0.8202 GB, free: 10.64 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0006564/0.6366, allocations: 0.5576 MB / 0.8207 GB, free: 10.09 MB / 0.6387 GB Notification: Performance of sort global known variables: time 2.7e-07/0.6366, allocations: 0 / 0.8207 GB, free: 10.09 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001575/0.6382, allocations: 0.7489 MB / 0.8214 GB, free: 9.34 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 3 (vol1.dynBal.U,vol1.dynBal.m,vol1.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 (64): * Single equations (assignments): 64 * 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.003138/0.6413, allocations: 2.392 MB / 0.8238 GB, free: 6.891 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.002152/0.6435, allocations: 1.312 MB / 0.8251 GB, free: 5.586 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 5.851e-06/0.6435, allocations: 8.062 kB / 0.8251 GB, free: 5.578 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0005112/0.644, allocations: 370.2 kB / 0.8254 GB, free: 5.215 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002422/0.6465, allocations: 0.5214 MB / 0.8259 GB, free: 4.73 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01023/0.6567, allocations: 8.224 MB / 0.834 GB, free: 12.18 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006161/0.6573, allocations: 1.081 MB / 0.835 GB, free: 11.06 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.001291/0.6586, allocations: 408.4 kB / 0.8354 GB, free: 10.66 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004744/0.6591, allocations: 335.3 kB / 0.8357 GB, free: 10.34 MB / 0.6544 GB Notification: Performance of SimCode: time 4.31e-07/0.6591, allocations: 3.938 kB / 0.8357 GB, free: 10.33 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2906/0.9497, allocations: 31.18 MB / 0.8662 GB, free: 221 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.146/9.096, allocations: 4.609 kB / 0.8662 GB, free: 221 MB / 0.67 GB (rm -f IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeInitialization_res.csv --start-time 0 --stop-time 0.001 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 4e-07 IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeInitialization.fmu > IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe 2>&1)