Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/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.Validation.MixingVolumeInitialization,fileNamePrefix="IDEAS_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeInitialization",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeInitialization,fileNamePrefix="IDEAS_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.001215/0.001215, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001254/0.001254, allocations: 193.3 kB / 16.14 MB, free: 6.707 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.262/1.262, allocations: 222.9 MB / 239.8 MB, free: 4.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7213/0.7213, allocations: 132.2 MB / 422.1 MB, free: 2.023 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001134/0.001134, allocations: 55.59 kB / 0.5012 GB, free: 4.227 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3429/0.3441, allocations: 80.21 MB / 0.5795 GB, free: 4.543 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeInitialization): time 0.1789/0.5231, allocations: 186.2 MB / 0.7613 GB, free: 6.922 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01365/0.5367, allocations: 11.17 MB / 0.7722 GB, free: 11.72 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008629/0.5376, allocations: 47.62 kB / 0.7723 GB, free: 11.67 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001067/0.5387, allocations: 437.7 kB / 0.7727 GB, free: 11.24 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.004673/0.5434, allocations: 2.417 MB / 0.7751 GB, free: 8.816 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.004318/0.5478, allocations: 2.081 MB / 0.7771 GB, free: 6.75 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.003568/0.5513, allocations: 3.983 MB / 0.781 GB, free: 2.758 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008695/0.5522, allocations: 0.6582 MB / 0.7816 GB, free: 2.086 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001284/0.5535, allocations: 0.8518 MB / 0.7824 GB, free: 1.23 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001709/0.5552, allocations: 1.065 MB / 0.7835 GB, free: 168 kB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001233/0.5554, allocations: 52 kB / 0.7835 GB, free: 116 kB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005184/0.5606, allocations: 3.297 MB / 0.7868 GB, free: 12.8 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0004036/0.561, allocations: 390.7 kB / 0.7871 GB, free: 12.43 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0005666/0.5615, allocations: 0.5402 MB / 0.7877 GB, free: 11.88 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.003915/0.5655, allocations: 3.023 MB / 0.7906 GB, free: 8.848 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.5655, allocations: 4 kB / 0.7906 GB, free: 8.844 MB / 0.6231 GB Notification: Performance of FrontEnd: time 9.12e-07/0.5655, allocations: 0 / 0.7906 GB, free: 8.844 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.056e-05/0.5655, allocations: 0 / 0.7906 GB, free: 8.844 MB / 0.6231 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.003357/0.5689, allocations: 1.674 MB / 0.7923 GB, free: 7.113 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.569e-05/0.5689, allocations: 12.03 kB / 0.7923 GB, free: 7.102 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001573/0.5691, allocations: 118.4 kB / 0.7924 GB, free: 6.977 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001922/0.571, allocations: 294.4 kB / 0.7927 GB, free: 6.688 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001164/0.5722, allocations: 0.7766 MB / 0.7934 GB, free: 5.871 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.249e-05/0.5723, allocations: 53.3 kB / 0.7935 GB, free: 5.82 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001222/0.5724, allocations: 67.89 kB / 0.7935 GB, free: 5.754 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001609/0.574, allocations: 1 MB / 0.7945 GB, free: 4.734 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.051e-05/0.574, allocations: 0 / 0.7945 GB, free: 4.734 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.926e-05/0.5741, allocations: 35.92 kB / 0.7945 GB, free: 4.699 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.601e-05/0.5742, allocations: 73.94 kB / 0.7946 GB, free: 4.629 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001618/0.5759, allocations: 1.003 MB / 0.7956 GB, free: 3.621 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.005609/0.5815, allocations: 3.578 MB / 0.7991 GB, free: 15.81 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001005/0.5825, allocations: 0.6577 MB / 0.7997 GB, free: 15.15 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005219/0.583, allocations: 374.4 kB / 0.8001 GB, free: 14.78 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002587/0.5833, allocations: 198.7 kB / 0.8003 GB, free: 14.55 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.686e-05/0.5833, allocations: 39.12 kB / 0.8003 GB, free: 14.5 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=62): time 2.083e-06/0.5833, allocations: 0 / 0.8003 GB, free: 14.5 MB / 0.6387 GB Notification: Performance of matching and sorting (n=62): time 0.001851/0.5852, allocations: 1.021 MB / 0.8013 GB, free: 13.48 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.361e-05/0.5853, allocations: 115.4 kB / 0.8014 GB, free: 13.34 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008961/0.5862, allocations: 0.8019 MB / 0.8022 GB, free: 12.53 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 5.407e-05/0.5862, allocations: 41.7 kB / 0.8022 GB, free: 12.48 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002827/0.5865, allocations: 416.1 kB / 0.8026 GB, free: 12.07 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001699/0.5867, allocations: 220.8 kB / 0.8028 GB, free: 11.85 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002319/0.5869, allocations: 142.6 kB / 0.803 GB, free: 11.71 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001062/0.5871, allocations: 341.9 kB / 0.8033 GB, free: 11.37 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00053/0.5876, allocations: 336.7 kB / 0.8036 GB, free: 11.04 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000627/0.5882, allocations: 473.6 kB / 0.8041 GB, free: 10.54 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0011/0.5893, allocations: 0.7665 MB / 0.8048 GB, free: 9.746 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.47e-06/0.5893, allocations: 4 kB / 0.8048 GB, free: 9.742 MB / 0.6387 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001448/0.5908, allocations: 0.9294 MB / 0.8057 GB, free: 8.805 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.554e-05/0.5908, allocations: 7.984 kB / 0.8058 GB, free: 8.797 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.243e-06/0.5908, allocations: 4 kB / 0.8058 GB, free: 8.793 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.627e-05/0.5909, allocations: 4 kB / 0.8058 GB, free: 8.789 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000701/0.5916, allocations: 151.8 kB / 0.8059 GB, free: 8.641 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.138e-05/0.5916, allocations: 7.938 kB / 0.8059 GB, free: 8.633 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007815/0.5924, allocations: 107.5 kB / 0.806 GB, free: 8.527 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.356e-05/0.5924, allocations: 28 kB / 0.806 GB, free: 8.5 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007971/0.5933, allocations: 0.5369 MB / 0.8066 GB, free: 7.957 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006137/0.5939, allocations: 459.3 kB / 0.807 GB, free: 7.465 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001054/0.5949, allocations: 0.733 MB / 0.8077 GB, free: 6.695 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.033e-06/0.5949, allocations: 4 kB / 0.8077 GB, free: 6.691 MB / 0.6387 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.001368/0.5963, allocations: 0.8864 MB / 0.8086 GB, free: 5.797 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.192e-05/0.5963, allocations: 8 kB / 0.8086 GB, free: 5.789 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.417e-06/0.5964, allocations: 0 / 0.8086 GB, free: 5.789 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.943e-06/0.5964, allocations: 8 kB / 0.8086 GB, free: 5.781 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000653/0.597, allocations: 147.8 kB / 0.8087 GB, free: 5.637 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.023e-05/0.597, allocations: 12.22 kB / 0.8088 GB, free: 5.625 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007587/0.5978, allocations: 89.73 kB / 0.8088 GB, free: 5.539 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.832e-05/0.5979, allocations: 27.98 kB / 0.8089 GB, free: 5.512 MB / 0.6387 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.0002106/0.5981, allocations: 224 kB / 0.8091 GB, free: 5.285 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001512/0.5982, allocations: 90.97 kB / 0.8092 GB, free: 5.195 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00136/0.5996, allocations: 0.8035 MB / 0.81 GB, free: 4.387 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.157e-05/0.5996, allocations: 8.094 kB / 0.81 GB, free: 4.379 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.5996, allocations: 0 / 0.81 GB, free: 4.379 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001025/0.6007, allocations: 0.7477 MB / 0.8107 GB, free: 3.602 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002879/0.6036, allocations: 2.093 MB / 0.8127 GB, free: 1.402 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.23e-06/0.6036, allocations: 4 kB / 0.8127 GB, free: 1.398 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006465/0.6042, allocations: 131.8 kB / 0.8129 GB, free: 1.27 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.323e-06/0.6043, allocations: 4 kB / 0.8129 GB, free: 1.266 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.504e-05/0.6043, allocations: 16 kB / 0.8129 GB, free: 1.25 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.732e-06/0.6043, allocations: 12.42 kB / 0.8129 GB, free: 1.238 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.588e-06/0.6043, allocations: 4 kB / 0.8129 GB, free: 1.234 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2178/0.8221, allocations: 1.397 MB / 0.8143 GB, free: 219 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005491/0.8227, allocations: 252.9 kB / 0.8145 GB, free: 218.9 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000148/0.8229, allocations: 20.16 kB / 0.8145 GB, free: 218.9 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006973/0.8236, allocations: 49.06 kB / 0.8146 GB, free: 218.9 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001006/0.8237, allocations: 46.78 kB / 0.8146 GB, free: 218.9 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.718e-05/0.8237, allocations: 21.8 kB / 0.8146 GB, free: 218.9 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0007554/0.8245, allocations: 0.5597 MB / 0.8152 GB, free: 218.8 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.6e-07/0.8245, allocations: 1.688 kB / 0.8152 GB, free: 218.8 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001631/0.8261, allocations: 0.7511 MB / 0.8159 GB, free: 218.7 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.00341/0.8296, allocations: 2.377 MB / 0.8182 GB, free: 217.5 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.002353/0.8319, allocations: 1.177 MB / 0.8194 GB, free: 217.2 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 5.611e-06/0.832, allocations: 0.6562 kB / 0.8194 GB, free: 217.2 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0005834/0.8325, allocations: 375.1 kB / 0.8197 GB, free: 217 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002385/0.8349, allocations: 0.5027 MB / 0.8202 GB, free: 216.9 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01094/0.8459, allocations: 8.522 MB / 0.8286 GB, free: 212.3 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005615/0.8465, allocations: 1.081 MB / 0.8296 GB, free: 211.5 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001468/0.848, allocations: 416 kB / 0.83 GB, free: 211.5 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004315/0.8484, allocations: 336.5 kB / 0.8303 GB, free: 211.2 MB / 0.6387 GB Notification: Performance of SimCode: time 6.42e-07/0.8484, allocations: 4 kB / 0.8303 GB, free: 211.2 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03896/0.8874, allocations: 30.27 MB / 0.8599 GB, free: 191 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001445/0.8875, allocations: 262.2 kB / 0.8601 GB, free: 190.8 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.509/3.396, allocations: 0 / 0.8601 GB, free: 190.8 MB / 0.6387 GB (rm -f IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe ; mkfifo IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe >> ../files/IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeInitialization_fmu --startTime=0 --stopTime=0.001 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeInitialization.fmu > IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe 2>&1)