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.001263/0.001263, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001322/0.001322, allocations: 188.2 kB / 16.25 MB, free: 6.625 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.242/1.242, allocations: 222.9 MB / 239.9 MB, free: 4.539 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7042/0.7042, allocations: 132.2 MB / 422.3 MB, free: 1.965 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00112/0.00112, allocations: 68.34 kB / 0.5014 GB, free: 9.027 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1228/0.124, allocations: 80.19 MB / 0.5797 GB, free: 9.051 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeInitialization): time 0.3623/0.4863, allocations: 186 MB / 0.7613 GB, free: 9.219 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0127/0.499, allocations: 10.83 MB / 0.7719 GB, free: 14.36 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001121/0.5002, allocations: 43.69 kB / 0.7719 GB, free: 14.32 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001091/0.5013, allocations: 441.8 kB / 0.7723 GB, free: 13.88 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.00495/0.5063, allocations: 2.425 MB / 0.7747 GB, free: 11.45 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.004582/0.5109, allocations: 2.247 MB / 0.7769 GB, free: 9.211 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.002602/0.5135, allocations: 2.774 MB / 0.7796 GB, free: 6.43 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007874/0.5143, allocations: 0.7643 MB / 0.7804 GB, free: 5.652 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001126/0.5154, allocations: 1.012 MB / 0.7814 GB, free: 4.637 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00149/0.5169, allocations: 1.116 MB / 0.7824 GB, free: 3.52 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001237/0.5171, allocations: 99.98 kB / 0.7825 GB, free: 3.422 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004226/0.5213, allocations: 3.071 MB / 0.7855 GB, free: 352 kB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0003715/0.5217, allocations: 442.9 kB / 0.786 GB, free: 15.91 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0004861/0.5222, allocations: 0.5794 MB / 0.7865 GB, free: 15.33 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.003323/0.5255, allocations: 3.082 MB / 0.7895 GB, free: 12.24 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.965e-06/0.5255, allocations: 0 / 0.7895 GB, free: 12.24 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.112e-06/0.5255, allocations: 0 / 0.7895 GB, free: 12.24 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.025e-05/0.5255, allocations: 0 / 0.7895 GB, free: 12.24 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.00293/0.5285, allocations: 1.678 MB / 0.7912 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.737e-05/0.5285, allocations: 8.031 kB / 0.7912 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001359/0.5287, allocations: 118.4 kB / 0.7913 GB, free: 10.37 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001717/0.5304, allocations: 294.4 kB / 0.7916 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009898/0.5314, allocations: 0.7766 MB / 0.7923 GB, free: 9.266 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.279e-05/0.5314, allocations: 53.3 kB / 0.7924 GB, free: 9.215 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001092/0.5316, allocations: 63.98 kB / 0.7924 GB, free: 9.152 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00141/0.533, allocations: 0.996 MB / 0.7934 GB, free: 8.137 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.847e-05/0.533, allocations: 4 kB / 0.7934 GB, free: 8.133 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.432e-05/0.5331, allocations: 23.98 kB / 0.7934 GB, free: 8.109 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.347e-05/0.5332, allocations: 77.89 kB / 0.7935 GB, free: 8.035 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001434/0.5346, allocations: 1.003 MB / 0.7945 GB, free: 7.027 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.004971/0.5396, allocations: 3.574 MB / 0.798 GB, free: 3.223 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009306/0.5405, allocations: 0.6531 MB / 0.7986 GB, free: 2.566 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004769/0.541, allocations: 381.5 kB / 0.799 GB, free: 2.195 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002385/0.5413, allocations: 194.8 kB / 0.7992 GB, free: 1.965 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.072e-05/0.5413, allocations: 51.05 kB / 0.7992 GB, free: 1.906 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=62): time 1.993e-06/0.5413, allocations: 0 / 0.7992 GB, free: 1.906 MB / 0.6075 GB Notification: Performance of matching and sorting (n=62): time 0.001674/0.543, allocations: 1.017 MB / 0.8002 GB, free: 0.8867 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.613e-05/0.5431, allocations: 111.4 kB / 0.8003 GB, free: 0.7539 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000812/0.5439, allocations: 0.798 MB / 0.8011 GB, free: 15.95 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 5.674e-05/0.5439, allocations: 41.7 kB / 0.8011 GB, free: 15.9 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002718/0.5442, allocations: 432 kB / 0.8016 GB, free: 15.47 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001537/0.5444, allocations: 209 kB / 0.8018 GB, free: 15.27 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002212/0.5446, allocations: 142.6 kB / 0.8019 GB, free: 15.12 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 9.843e-05/0.5447, allocations: 345.8 kB / 0.8022 GB, free: 14.78 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004838/0.5452, allocations: 336.7 kB / 0.8025 GB, free: 14.45 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005731/0.5458, allocations: 473.5 kB / 0.803 GB, free: 13.95 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00101/0.5468, allocations: 0.7704 MB / 0.8037 GB, free: 13.15 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/0.5468, allocations: 0 / 0.8037 GB, free: 13.15 MB / 0.6231 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001319/0.5481, allocations: 0.9295 MB / 0.8047 GB, free: 12.21 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.382e-05/0.5482, allocations: 10.34 kB / 0.8047 GB, free: 12.21 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.644e-06/0.5482, allocations: 4.938 kB / 0.8047 GB, free: 12.21 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.554e-05/0.5482, allocations: 8 kB / 0.8047 GB, free: 12.2 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006477/0.5489, allocations: 147.8 kB / 0.8048 GB, free: 12.05 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.246e-05/0.5489, allocations: 7.984 kB / 0.8048 GB, free: 12.05 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007336/0.5496, allocations: 111.2 kB / 0.8049 GB, free: 11.94 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.998e-05/0.5497, allocations: 31.98 kB / 0.805 GB, free: 11.91 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006872/0.5504, allocations: 0.5331 MB / 0.8055 GB, free: 11.37 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000541/0.5509, allocations: 463.3 kB / 0.8059 GB, free: 10.87 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009266/0.5519, allocations: 0.7253 MB / 0.8066 GB, free: 10.11 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.297e-06/0.5519, allocations: 3.938 kB / 0.8066 GB, free: 10.11 MB / 0.6231 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.001238/0.5531, allocations: 0.8905 MB / 0.8075 GB, free: 9.207 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 9.117e-06/0.5531, allocations: 4 kB / 0.8075 GB, free: 9.203 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.529e-06/0.5531, allocations: 4 kB / 0.8075 GB, free: 9.199 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.811e-06/0.5532, allocations: 4 kB / 0.8075 GB, free: 9.195 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006083/0.5538, allocations: 147.8 kB / 0.8077 GB, free: 9.051 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.179e-05/0.5538, allocations: 11.98 kB / 0.8077 GB, free: 9.039 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006997/0.5545, allocations: 90.86 kB / 0.8078 GB, free: 8.953 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.239e-05/0.5546, allocations: 28 kB / 0.8078 GB, free: 8.926 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.0001696/0.5547, allocations: 225.6 kB / 0.808 GB, free: 8.699 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001306/0.5549, allocations: 90.88 kB / 0.8081 GB, free: 8.609 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001216/0.5561, allocations: 0.8111 MB / 0.8089 GB, free: 7.793 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.54e-06/0.5561, allocations: 4 kB / 0.8089 GB, free: 7.789 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.5561, allocations: 0 / 0.8089 GB, free: 7.789 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009239/0.557, allocations: 0.7399 MB / 0.8096 GB, free: 7.02 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00264/0.5597, allocations: 2.097 MB / 0.8116 GB, free: 4.816 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.861e-06/0.5597, allocations: 7.125 kB / 0.8117 GB, free: 4.812 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006222/0.5603, allocations: 135.8 kB / 0.8118 GB, free: 4.68 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.255e-06/0.5604, allocations: 8 kB / 0.8118 GB, free: 4.672 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.705e-05/0.5604, allocations: 16 kB / 0.8118 GB, free: 4.656 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.171e-06/0.5604, allocations: 7.938 kB / 0.8118 GB, free: 4.648 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/0.5604, allocations: 4 kB / 0.8118 GB, free: 4.645 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001648/0.5621, allocations: 1.407 MB / 0.8132 GB, free: 3.18 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002933/0.5624, allocations: 251.8 kB / 0.8134 GB, free: 2.914 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001204/0.5625, allocations: 16 kB / 0.8134 GB, free: 2.898 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006017/0.5631, allocations: 47.88 kB / 0.8135 GB, free: 2.852 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.824e-05/0.5632, allocations: 64.12 kB / 0.8136 GB, free: 2.789 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.225e-05/0.5633, allocations: 20 kB / 0.8136 GB, free: 2.77 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0005923/0.5639, allocations: 0.5576 MB / 0.8141 GB, free: 2.215 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5639, allocations: 0 / 0.8141 GB, free: 2.215 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001489/0.5654, allocations: 0.7489 MB / 0.8148 GB, free: 1.465 MB / 0.6231 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.003007/0.5684, allocations: 2.373 MB / 0.8172 GB, free: 15.03 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001965/0.5704, allocations: 1.316 MB / 0.8185 GB, free: 13.72 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.5704, allocations: 0 / 0.8185 GB, free: 13.72 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0004675/0.5708, allocations: 378.4 kB / 0.8188 GB, free: 13.35 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002111/0.573, allocations: 0.5333 MB / 0.8193 GB, free: 12.87 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01054/0.5835, allocations: 8.511 MB / 0.8276 GB, free: 4.023 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005886/0.5841, allocations: 1.073 MB / 0.8287 GB, free: 2.922 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001258/0.5854, allocations: 409.8 kB / 0.8291 GB, free: 2.52 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004547/0.5859, allocations: 339.3 kB / 0.8294 GB, free: 2.188 MB / 0.6387 GB Notification: Performance of SimCode: time 5.41e-07/0.5859, allocations: 0 / 0.8294 GB, free: 2.188 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8945/1.48, allocations: 31.01 MB / 0.8597 GB, free: 3.633 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001694/1.481, allocations: 250.4 kB / 0.8599 GB, free: 3.375 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.375/3.856, allocations: 2.406 kB / 0.8599 GB, free: 3.375 MB / 0.67 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)