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.0007097/0.0007098, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.004401/0.004401, allocations: 169.2 kB / 16.26 MB, free: 6.652 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.263/1.263, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7423/0.7423, allocations: 132.3 MB / 423.8 MB, free: 1.98 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002956/0.0002957, allocations: 12 kB / 0.5041 GB, free: 3.832 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3619/0.3622, allocations: 81.57 MB / 0.5837 GB, free: 4.074 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeInitialization): time 0.1861/0.5483, allocations: 183.7 MB / 0.7632 GB, free: 8.113 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.0139/0.5622, allocations: 11.03 MB / 0.7739 GB, free: 13.05 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000884/0.5631, allocations: 43.62 kB / 0.774 GB, free: 13.01 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001049/0.5642, allocations: 425.8 kB / 0.7744 GB, free: 12.59 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.005011/0.5692, allocations: 2.424 MB / 0.7768 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.004314/0.5735, allocations: 2.065 MB / 0.7788 GB, free: 8.102 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.003711/0.5772, allocations: 3.995 MB / 0.7827 GB, free: 4.102 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008214/0.5781, allocations: 0.642 MB / 0.7833 GB, free: 3.445 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001138/0.5792, allocations: 0.8402 MB / 0.7841 GB, free: 2.602 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001591/0.5808, allocations: 1.051 MB / 0.7851 GB, free: 1.547 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001156/0.581, allocations: 44 kB / 0.7852 GB, free: 1.504 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004853/0.5858, allocations: 3.289 MB / 0.7884 GB, free: 14.21 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0003688/0.5862, allocations: 390.8 kB / 0.7888 GB, free: 13.82 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0005032/0.5867, allocations: 0.542 MB / 0.7893 GB, free: 13.27 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.003339/0.5901, allocations: 3.007 MB / 0.7922 GB, free: 10.26 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 2.544e-06/0.5901, allocations: 0 / 0.7922 GB, free: 10.26 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.372e-06/0.5901, allocations: 3.938 kB / 0.7922 GB, free: 10.25 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.054e-05/0.5901, allocations: 0 / 0.7922 GB, free: 10.25 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.002964/0.5931, allocations: 1.472 MB / 0.7937 GB, free: 8.723 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.561e-05/0.5931, allocations: 8.031 kB / 0.7937 GB, free: 8.715 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001465/0.5933, allocations: 122.5 kB / 0.7938 GB, free: 8.586 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001767/0.595, allocations: 294.3 kB / 0.7941 GB, free: 8.297 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001076/0.5961, allocations: 0.7805 MB / 0.7948 GB, free: 7.477 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.057e-05/0.5962, allocations: 61.27 kB / 0.7949 GB, free: 7.418 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001226/0.5963, allocations: 67.98 kB / 0.795 GB, free: 7.352 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001502/0.5978, allocations: 0.9883 MB / 0.7959 GB, free: 6.344 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.888e-05/0.5979, allocations: 0 / 0.7959 GB, free: 6.344 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.299e-05/0.5979, allocations: 31.92 kB / 0.796 GB, free: 6.312 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.437e-05/0.598, allocations: 73.95 kB / 0.796 GB, free: 6.242 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001557/0.5996, allocations: 1.003 MB / 0.797 GB, free: 5.234 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.005357/0.605, allocations: 3.593 MB / 0.8005 GB, free: 1.41 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009801/0.606, allocations: 0.6577 MB / 0.8012 GB, free: 0.7461 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005176/0.6065, allocations: 374.3 kB / 0.8015 GB, free: 388 kB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002319/0.6067, allocations: 190.8 kB / 0.8017 GB, free: 160 kB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.069e-05/0.6068, allocations: 39.12 kB / 0.8017 GB, free: 108 kB / 0.6231 GB Notification: Performance of pre-optimization done (n=62): time 1.783e-06/0.6068, allocations: 4 kB / 0.8017 GB, free: 104 kB / 0.6231 GB Notification: Performance of matching and sorting (n=62): time 0.00179/0.6086, allocations: 1.029 MB / 0.8027 GB, free: 15.07 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.528e-05/0.6087, allocations: 107.4 kB / 0.8029 GB, free: 14.94 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009079/0.6096, allocations: 0.8058 MB / 0.8036 GB, free: 14.12 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 5.958e-05/0.6096, allocations: 37.7 kB / 0.8037 GB, free: 14.08 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002952/0.6099, allocations: 424 kB / 0.8041 GB, free: 13.66 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001694/0.6101, allocations: 220.8 kB / 0.8043 GB, free: 13.45 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001007/0.6102, allocations: 65.69 kB / 0.8044 GB, free: 13.38 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001052/0.6103, allocations: 341.9 kB / 0.8047 GB, free: 13.04 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005161/0.6109, allocations: 329.8 kB / 0.805 GB, free: 12.71 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006134/0.6115, allocations: 469.6 kB / 0.8054 GB, free: 12.22 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0011/0.6126, allocations: 0.7704 MB / 0.8062 GB, free: 11.43 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/0.6126, allocations: 0 / 0.8062 GB, free: 11.43 MB / 0.6387 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001424/0.614, allocations: 0.9294 MB / 0.8071 GB, free: 10.49 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 8.362e-05/0.6141, allocations: 157.4 kB / 0.8073 GB, free: 10.3 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.135e-06/0.6141, allocations: 4 kB / 0.8073 GB, free: 10.3 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.491e-05/0.6142, allocations: 4 kB / 0.8073 GB, free: 10.3 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006755/0.6148, allocations: 151.8 kB / 0.8074 GB, free: 10.15 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.13e-05/0.6149, allocations: 11.88 kB / 0.8074 GB, free: 10.14 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007816/0.6156, allocations: 107.1 kB / 0.8075 GB, free: 10.03 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.146e-05/0.6157, allocations: 28 kB / 0.8075 GB, free: 10 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 6.291e-06/0.6157, allocations: 4 kB / 0.8075 GB, free: 10 MB / 0.6387 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001225/0.617, allocations: 0.769 MB / 0.8083 GB, free: 9.23 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.346e-06/0.617, allocations: 4 kB / 0.8083 GB, free: 9.227 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.821e-06/0.617, allocations: 4 kB / 0.8083 GB, free: 9.223 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006293/0.6176, allocations: 155.7 kB / 0.8085 GB, free: 9.07 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.027e-06/0.6176, allocations: 8 kB / 0.8085 GB, free: 9.062 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007006/0.6183, allocations: 99.2 kB / 0.8086 GB, free: 8.965 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.071e-05/0.6184, allocations: 24 kB / 0.8086 GB, free: 8.941 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.0003807/0.6188, allocations: 376.8 kB / 0.8089 GB, free: 8.562 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001306/0.6189, allocations: 94.81 kB / 0.809 GB, free: 8.469 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001319/0.6203, allocations: 0.8043 MB / 0.8098 GB, free: 7.656 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.454e-06/0.6203, allocations: 12 kB / 0.8098 GB, free: 7.645 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.6203, allocations: 0 / 0.8098 GB, free: 7.645 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001001/0.6213, allocations: 0.7399 MB / 0.8105 GB, free: 6.871 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002845/0.6241, allocations: 2.086 MB / 0.8126 GB, free: 4.684 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.08e-06/0.6242, allocations: 7.984 kB / 0.8126 GB, free: 4.676 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006297/0.6248, allocations: 140.2 kB / 0.8127 GB, free: 4.539 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.151e-06/0.6248, allocations: 4 kB / 0.8127 GB, free: 4.535 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.488e-05/0.6249, allocations: 16 kB / 0.8127 GB, free: 4.52 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.548e-06/0.6249, allocations: 15.92 kB / 0.8128 GB, free: 4.504 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.611e-06/0.6249, allocations: 8 kB / 0.8128 GB, free: 4.496 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001801/0.6267, allocations: 1.399 MB / 0.8141 GB, free: 3.039 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003485/0.6271, allocations: 259.8 kB / 0.8144 GB, free: 2.766 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001121/0.6272, allocations: 16 kB / 0.8144 GB, free: 2.75 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006056/0.6278, allocations: 51.81 kB / 0.8144 GB, free: 2.699 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.708e-05/0.6279, allocations: 48.25 kB / 0.8145 GB, free: 2.652 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.419e-05/0.6279, allocations: 24 kB / 0.8145 GB, free: 2.629 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0006569/0.6286, allocations: 0.5576 MB / 0.8151 GB, free: 2.074 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6286, allocations: 0 / 0.8151 GB, free: 2.074 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.00153/0.6301, allocations: 0.7489 MB / 0.8158 GB, free: 1.324 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.2357/0.8658, allocations: 2.369 MB / 0.8181 GB, free: 218.5 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001984/0.8679, allocations: 1.177 MB / 0.8193 GB, free: 218.3 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 5.4e-06/0.8679, allocations: 0.875 kB / 0.8193 GB, free: 218.3 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0005323/0.8684, allocations: 372 kB / 0.8196 GB, free: 218.2 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002992/0.8714, allocations: 0.5066 MB / 0.8201 GB, free: 218.1 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.011/0.8824, allocations: 8.601 MB / 0.8285 GB, free: 213.5 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005606/0.883, allocations: 1.079 MB / 0.8296 GB, free: 212.8 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001407/0.8844, allocations: 421.7 kB / 0.83 GB, free: 212.7 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004362/0.8849, allocations: 337.6 kB / 0.8303 GB, free: 212.5 MB / 0.6387 GB Notification: Performance of SimCode: time 7.62e-07/0.8849, allocations: 0 / 0.8303 GB, free: 212.5 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3478/1.233, allocations: 30 MB / 0.8596 GB, free: 193 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001973/1.233, allocations: 249.5 kB / 0.8598 GB, free: 192.7 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.484/3.717, allocations: 0 / 0.8598 GB, free: 192.7 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)