Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.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.MixingVolumeZeroFlow,fileNamePrefix="IDEAS_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeZeroFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow,fileNamePrefix="IDEAS_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeZeroFlow",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.001093/0.001092, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001087/0.001088, allocations: 192.2 kB / 16.13 MB, free: 6.715 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.26/1.26, allocations: 222.9 MB / 239.8 MB, free: 4.609 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7361/0.7361, allocations: 132.2 MB / 422.1 MB, free: 2.016 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001193/0.001193, allocations: 56.66 kB / 0.5012 GB, free: 9.129 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1321/0.1333, allocations: 80.19 MB / 0.5795 GB, free: 9.156 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow): time 0.2776/0.4109, allocations: 49.44 MB / 0.6278 GB, free: 30.39 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01343/0.4244, allocations: 12.68 MB / 0.6402 GB, free: 21.35 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002076/0.4265, allocations: 76.28 kB / 0.6402 GB, free: 21.32 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001724/0.4282, allocations: 0.618 MB / 0.6408 GB, free: 20.95 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.003679/0.432, allocations: 1.686 MB / 0.6425 GB, free: 19.98 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002665/0.4346, allocations: 1.21 MB / 0.6437 GB, free: 19.31 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.003314/0.438, allocations: 4.371 MB / 0.6479 GB, free: 17.7 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009951/0.439, allocations: 1.08 MB / 0.649 GB, free: 17.22 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001398/0.4404, allocations: 1.126 MB / 0.6501 GB, free: 16.73 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007674/0.4412, allocations: 0.9521 MB / 0.651 GB, free: 16.3 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001208/0.4413, allocations: 60.41 kB / 0.6511 GB, free: 16.3 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001818/0.4431, allocations: 1.052 MB / 0.6521 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001965/0.4433, allocations: 250.2 kB / 0.6523 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0004875/0.4438, allocations: 0.6424 MB / 0.653 GB, free: 15.42 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002041/0.4459, allocations: 1.916 MB / 0.6548 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.948e-06/0.4459, allocations: 1.25 kB / 0.6548 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of FrontEnd: time 7.61e-07/0.4459, allocations: 0 / 0.6548 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.531e-05/0.4459, allocations: 0 / 0.6548 GB, free: 14.7 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 213 * Number of variables: 213 Notification: Performance of Generate backend data structure: time 0.002255/0.4482, allocations: 1.697 MB / 0.6565 GB, free: 13.57 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.02e-05/0.4482, allocations: 9.125 kB / 0.6565 GB, free: 13.57 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001381/0.4484, allocations: 140.4 kB / 0.6566 GB, free: 13.47 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005957/0.449, allocations: 213 kB / 0.6568 GB, free: 13.39 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001679/0.4506, allocations: 1.087 MB / 0.6579 GB, free: 12.73 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003495/0.451, allocations: 124 kB / 0.658 GB, free: 12.69 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.864e-05/0.4511, allocations: 83.06 kB / 0.6581 GB, free: 12.66 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001727/0.4528, allocations: 0.9929 MB / 0.6591 GB, free: 12.16 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.926e-05/0.4529, allocations: 0.9375 kB / 0.6591 GB, free: 12.16 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.129e-05/0.453, allocations: 33.53 kB / 0.6591 GB, free: 12.14 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.21e-05/0.453, allocations: 21.53 kB / 0.6591 GB, free: 12.14 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001538/0.4545, allocations: 0.6549 MB / 0.6598 GB, free: 11.93 MB / 0.4981 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.004677/0.4592, allocations: 4.416 MB / 0.6641 GB, free: 8.555 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001203/0.4604, allocations: 407.7 kB / 0.6645 GB, free: 8.422 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005446/0.461, allocations: 221.8 kB / 0.6647 GB, free: 8.355 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005921/0.4616, allocations: 1.15 MB / 0.6658 GB, free: 7.023 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.278e-05/0.4616, allocations: 37.5 kB / 0.6658 GB, free: 6.98 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=29): time 1.954e-06/0.4616, allocations: 0.9375 kB / 0.6658 GB, free: 6.98 MB / 0.4981 GB Notification: Performance of matching and sorting (n=29): time 0.002829/0.4645, allocations: 1.09 MB / 0.6669 GB, free: 6.422 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.975e-05/0.4645, allocations: 53.53 kB / 0.667 GB, free: 6.359 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001027/0.4655, allocations: 0.9409 MB / 0.6679 GB, free: 5.977 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.634e-05/0.4656, allocations: 32.45 kB / 0.6679 GB, free: 5.941 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003205/0.4659, allocations: 0.5792 MB / 0.6685 GB, free: 5.484 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 7.524e-05/0.466, allocations: 105.6 kB / 0.6686 GB, free: 5.402 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001438/0.4661, allocations: 105.3 kB / 0.6687 GB, free: 5.348 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.687e-05/0.4662, allocations: 324 kB / 0.669 GB, free: 5.035 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005299/0.4667, allocations: 199.1 kB / 0.6692 GB, free: 4.984 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006142/0.4673, allocations: 384.2 kB / 0.6695 GB, free: 4.715 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001066/0.4684, allocations: 0.5756 MB / 0.6701 GB, free: 4.352 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.509e-06/0.4684, allocations: 2.531 kB / 0.6701 GB, free: 4.352 MB / 0.4981 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001517/0.47, allocations: 0.7271 MB / 0.6708 GB, free: 4.062 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.774e-05/0.47, allocations: 7.781 kB / 0.6708 GB, free: 4.062 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.518e-06/0.47, allocations: 9.906 kB / 0.6708 GB, free: 4.059 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006489/0.4707, allocations: 162.6 kB / 0.671 GB, free: 4 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005824/0.4712, allocations: 133.8 kB / 0.6711 GB, free: 3.996 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007242/0.472, allocations: 1.719 MB / 0.6728 GB, free: 2.355 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007931/0.4728, allocations: 108.8 kB / 0.6729 GB, free: 2.312 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.638e-05/0.4729, allocations: 32.28 kB / 0.6729 GB, free: 2.305 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * 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 (48): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,2), (1,3), (1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0003485/0.4732, allocations: 268.2 kB / 0.6732 GB, free: 2.109 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001454/0.4734, allocations: 109.8 kB / 0.6733 GB, free: 2.051 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001752/0.4751, allocations: 0.7354 MB / 0.674 GB, free: 1.77 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.224e-05/0.4751, allocations: 4.406 kB / 0.674 GB, free: 1.77 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.4751, allocations: 3.938 kB / 0.674 GB, free: 1.766 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.001e-06/0.4752, allocations: 3.688 kB / 0.674 GB, free: 1.766 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002735/0.4779, allocations: 1.634 MB / 0.6756 GB, free: 0.9531 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.681e-06/0.4779, allocations: 1.375 kB / 0.6756 GB, free: 0.9531 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004682/0.4784, allocations: 92.17 kB / 0.6757 GB, free: 0.9453 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005345/0.4789, allocations: 149 kB / 0.6758 GB, free: 0.8945 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.784e-05/0.479, allocations: 11.42 kB / 0.6759 GB, free: 0.8906 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008251/0.4798, allocations: 1.715 MB / 0.6775 GB, free: 15.25 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.4798, allocations: 0.875 kB / 0.6775 GB, free: 15.25 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001588/0.4814, allocations: 0.7873 MB / 0.6783 GB, free: 14.83 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003487/0.4818, allocations: 247.3 kB / 0.6785 GB, free: 14.64 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001196/0.4819, allocations: 7.703 kB / 0.6785 GB, free: 14.64 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006711/0.4826, allocations: 76.58 kB / 0.6786 GB, free: 14.62 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.534e-05/0.4827, allocations: 34.86 kB / 0.6786 GB, free: 14.61 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.837e-05/0.4827, allocations: 26.39 kB / 0.6787 GB, free: 14.6 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0008087/0.4835, allocations: 0.6296 MB / 0.6793 GB, free: 14.34 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4835, allocations: 0 / 0.6793 GB, free: 14.34 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001049/0.4846, allocations: 360 kB / 0.6796 GB, free: 14.25 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 simulation (26): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,3), (1,2), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002493/0.4871, allocations: 1.629 MB / 0.6812 GB, free: 13.2 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001588/0.4887, allocations: 0.5332 MB / 0.6817 GB, free: 13.06 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.4887, allocations: 1.406 kB / 0.6817 GB, free: 13.06 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0008211/0.4895, allocations: 297 kB / 0.682 GB, free: 12.98 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002286/0.4919, allocations: 0.4987 MB / 0.6825 GB, free: 12.86 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01206/0.5039, allocations: 7.926 MB / 0.6903 GB, free: 8.074 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007073/0.5047, allocations: 1.107 MB / 0.6913 GB, free: 7.344 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0008369/0.5055, allocations: 185.7 kB / 0.6915 GB, free: 7.297 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004634/0.506, allocations: 418.5 kB / 0.6919 GB, free: 6.977 MB / 0.5137 GB Notification: Performance of SimCode: time 6.81e-07/0.506, allocations: 5.25 kB / 0.6919 GB, free: 6.973 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05207/0.5581, allocations: 27.48 MB / 0.7187 GB, free: 3.762 MB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000196/0.5583, allocations: 270.9 kB / 0.719 GB, free: 3.395 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.37/2.928, allocations: 0 / 0.719 GB, free: 3.395 MB / 0.5294 GB (rm -f IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe ; mkfifo IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe >> ../files/IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeZeroFlow_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeZeroFlow.fmu > IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe 2>&1)