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.001652/0.001652, allocations: 108 kB / 15.6 MB, free: 132 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.001996/0.001996, allocations: 195.4 kB / 16.53 MB, free: 6.391 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.408/1.408, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8362/0.8362, allocations: 135.1 MB / 425.5 MB, free: 11.91 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001148/0.001148, allocations: 62.91 kB / 0.5054 GB, free: 5.238 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1226/0.1238, allocations: 80.93 MB / 0.5845 GB, free: 4.469 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeInitialization): time 0.3627/0.4865, allocations: 187.8 MB / 0.7679 GB, free: 1.027 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01164/0.4982, allocations: 10.75 MB / 0.7784 GB, free: 6.246 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004993/0.4987, allocations: 39.75 kB / 0.7784 GB, free: 6.207 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0009386/0.4997, allocations: 0.4892 MB / 0.7789 GB, free: 5.715 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.004104/0.5038, allocations: 2.579 MB / 0.7814 GB, free: 3.125 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.003896/0.5077, allocations: 2.454 MB / 0.7838 GB, free: 0.6797 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.002087/0.5098, allocations: 2.763 MB / 0.7865 GB, free: 13.91 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007343/0.5106, allocations: 0.7834 MB / 0.7873 GB, free: 13.12 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009581/0.5115, allocations: 0.9925 MB / 0.7883 GB, free: 12.12 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001351/0.5129, allocations: 1.053 MB / 0.7893 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001323/0.513, allocations: 99.98 kB / 0.7894 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003697/0.5167, allocations: 3.001 MB / 0.7923 GB, free: 7.969 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.000332/0.5171, allocations: 442.8 kB / 0.7927 GB, free: 7.535 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0004696/0.5176, allocations: 0.5833 MB / 0.7933 GB, free: 6.949 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.002805/0.5204, allocations: 2.934 MB / 0.7962 GB, free: 4.008 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.504e-06/0.5204, allocations: 0 / 0.7962 GB, free: 4.008 MB / 0.6075 GB Notification: Performance of FrontEnd: time 9.72e-07/0.5204, allocations: 0 / 0.7962 GB, free: 4.008 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.297e-05/0.5204, allocations: 0 / 0.7962 GB, free: 4.008 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.00273/0.5231, allocations: 1.671 MB / 0.7978 GB, free: 2.281 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.196e-05/0.5232, allocations: 12.03 kB / 0.7978 GB, free: 2.27 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001222/0.5233, allocations: 118.5 kB / 0.7979 GB, free: 2.145 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001608/0.5249, allocations: 298.3 kB / 0.7982 GB, free: 1.852 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009484/0.5259, allocations: 0.7805 MB / 0.799 GB, free: 1.031 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.051e-05/0.5259, allocations: 49.3 kB / 0.799 GB, free: 0.9844 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001059/0.526, allocations: 71.92 kB / 0.7991 GB, free: 0.9141 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00129/0.5273, allocations: 0.9883 MB / 0.8001 GB, free: 15.91 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.746e-05/0.5274, allocations: 3.984 kB / 0.8001 GB, free: 15.91 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.132e-05/0.5274, allocations: 27.98 kB / 0.8001 GB, free: 15.88 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.019e-05/0.5275, allocations: 73.89 kB / 0.8002 GB, free: 15.81 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001375/0.5289, allocations: 1.011 MB / 0.8011 GB, free: 14.79 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.004685/0.5336, allocations: 3.587 MB / 0.8046 GB, free: 10.97 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008748/0.5345, allocations: 0.6667 MB / 0.8053 GB, free: 10.3 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004785/0.535, allocations: 377 kB / 0.8057 GB, free: 9.934 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002224/0.5352, allocations: 198.8 kB / 0.8058 GB, free: 9.699 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.261e-05/0.5352, allocations: 39.12 kB / 0.8059 GB, free: 9.652 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=62): time 1.513e-06/0.5353, allocations: 0 / 0.8059 GB, free: 9.652 MB / 0.6231 GB Notification: Performance of matching and sorting (n=62): time 0.001601/0.5369, allocations: 1.021 MB / 0.8069 GB, free: 8.629 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.652e-05/0.5369, allocations: 119.3 kB / 0.807 GB, free: 8.488 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007758/0.5377, allocations: 0.798 MB / 0.8078 GB, free: 7.684 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 4.702e-05/0.5377, allocations: 41.7 kB / 0.8078 GB, free: 7.637 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002547/0.538, allocations: 428 kB / 0.8082 GB, free: 7.211 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001461/0.5382, allocations: 220.8 kB / 0.8084 GB, free: 6.992 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002042/0.5384, allocations: 142.6 kB / 0.8086 GB, free: 6.848 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 9.296e-05/0.5385, allocations: 337.9 kB / 0.8089 GB, free: 6.512 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004762/0.539, allocations: 340.7 kB / 0.8092 GB, free: 6.176 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005599/0.5395, allocations: 469.6 kB / 0.8097 GB, free: 5.684 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009684/0.5405, allocations: 0.7665 MB / 0.8104 GB, free: 4.891 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.484e-06/0.5405, allocations: 0 / 0.8104 GB, free: 4.891 MB / 0.6231 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001255/0.5418, allocations: 0.9294 MB / 0.8113 GB, free: 3.953 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.371e-05/0.5418, allocations: 15.92 kB / 0.8113 GB, free: 3.938 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.03e-06/0.5418, allocations: 0 / 0.8113 GB, free: 3.938 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.406e-05/0.5418, allocations: 8 kB / 0.8113 GB, free: 3.93 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006149/0.5424, allocations: 148.3 kB / 0.8115 GB, free: 3.785 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.347e-06/0.5425, allocations: 4 kB / 0.8115 GB, free: 3.781 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006378/0.5431, allocations: 87.78 kB / 0.8116 GB, free: 3.699 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.264e-05/0.5432, allocations: 31.94 kB / 0.8116 GB, free: 3.668 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006621/0.5438, allocations: 0.537 MB / 0.8121 GB, free: 3.129 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005166/0.5443, allocations: 447.3 kB / 0.8125 GB, free: 2.645 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009056/0.5453, allocations: 0.7408 MB / 0.8133 GB, free: 1.871 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.196e-06/0.5453, allocations: 3.938 kB / 0.8133 GB, free: 1.867 MB / 0.6231 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.001191/0.5465, allocations: 0.8826 MB / 0.8141 GB, free: 0.9766 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 8.817e-06/0.5465, allocations: 12.22 kB / 0.8141 GB, free: 0.9648 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.5465, allocations: 8 kB / 0.8142 GB, free: 0.957 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.971e-06/0.5465, allocations: 4 kB / 0.8142 GB, free: 0.9531 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005795/0.5471, allocations: 147.8 kB / 0.8143 GB, free: 0.8086 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.683e-06/0.5471, allocations: 4 kB / 0.8143 GB, free: 0.8047 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006242/0.5477, allocations: 64.64 kB / 0.8144 GB, free: 0.7422 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.277e-05/0.5478, allocations: 31.98 kB / 0.8144 GB, free: 0.7109 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.0001496/0.548, allocations: 220 kB / 0.8146 GB, free: 500 kB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001282/0.5481, allocations: 94.88 kB / 0.8147 GB, free: 404 kB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00114/0.5492, allocations: 0.7969 MB / 0.8155 GB, free: 15.59 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.77e-06/0.5492, allocations: 8 kB / 0.8155 GB, free: 15.58 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.5493, allocations: 0 / 0.8155 GB, free: 15.58 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008749/0.5501, allocations: 0.7517 MB / 0.8162 GB, free: 14.8 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002499/0.5526, allocations: 2.101 MB / 0.8183 GB, free: 12.59 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.714e-06/0.5527, allocations: 8.859 kB / 0.8183 GB, free: 12.58 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000579/0.5532, allocations: 131.8 kB / 0.8184 GB, free: 12.45 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.701e-06/0.5533, allocations: 4 kB / 0.8184 GB, free: 12.45 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.222e-05/0.5533, allocations: 19.98 kB / 0.8184 GB, free: 12.43 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.96e-06/0.5533, allocations: 8 kB / 0.8184 GB, free: 12.42 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/0.5533, allocations: 4 kB / 0.8184 GB, free: 12.42 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001577/0.5549, allocations: 1.403 MB / 0.8198 GB, free: 10.96 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002867/0.5552, allocations: 251.8 kB / 0.82 GB, free: 10.69 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001208/0.5553, allocations: 23.98 kB / 0.8201 GB, free: 10.67 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005001/0.5558, allocations: 22.8 kB / 0.8201 GB, free: 10.65 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.609e-05/0.5559, allocations: 44.33 kB / 0.8201 GB, free: 10.61 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.874e-05/0.556, allocations: 24 kB / 0.8202 GB, free: 10.58 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0005654/0.5565, allocations: 0.5576 MB / 0.8207 GB, free: 10.03 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.11e-07/0.5565, allocations: 0 / 0.8207 GB, free: 10.03 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001212/0.5578, allocations: 0.7489 MB / 0.8214 GB, free: 9.277 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.002637/0.5604, allocations: 2.39 MB / 0.8238 GB, free: 6.828 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001832/0.5622, allocations: 1.319 MB / 0.8251 GB, free: 5.516 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.676e-06/0.5623, allocations: 8.062 kB / 0.8251 GB, free: 5.508 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0004478/0.5627, allocations: 366.1 kB / 0.8254 GB, free: 5.148 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002071/0.5648, allocations: 0.5292 MB / 0.8259 GB, free: 4.656 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008666/0.5735, allocations: 8.224 MB / 0.834 GB, free: 12.11 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005312/0.574, allocations: 1.081 MB / 0.835 GB, free: 10.99 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.001101/0.5751, allocations: 412.3 kB / 0.8354 GB, free: 10.59 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004099/0.5755, allocations: 331.3 kB / 0.8357 GB, free: 10.27 MB / 0.6544 GB Notification: Performance of SimCode: time 3.2e-07/0.5755, allocations: 0 / 0.8357 GB, free: 10.27 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.599/3.174, allocations: 31.18 MB / 0.8662 GB, free: 218.4 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.597/12.77, allocations: 4.562 kB / 0.8662 GB, free: 218.4 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeInitialization_fmu --startTime=0 --stopTime=0.001 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeInitialization.fmu > IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe 2>&1)