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.0009134/0.0009134, allocations: 90.75 kB / 15.36 MB, free: 0.7383 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.005024/0.005024, allocations: 171.3 kB / 16.26 MB, free: 6.676 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.302/1.302, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7701/0.7701, allocations: 132.3 MB / 423.8 MB, free: 1.973 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004065/0.0004066, allocations: 8 kB / 0.5041 GB, free: 3.805 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3766/0.3771, allocations: 81.58 MB / 0.5837 GB, free: 3.855 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow): time 0.046/0.4231, allocations: 48.43 MB / 0.631 GB, free: 14.87 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.01888/0.442, allocations: 12.56 MB / 0.6433 GB, free: 3.18 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002565/0.4446, allocations: 67.56 kB / 0.6434 GB, free: 3.113 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002017/0.4467, allocations: 0.6135 MB / 0.644 GB, free: 2.496 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00534/0.452, allocations: 1.687 MB / 0.6456 GB, free: 0.8008 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003719/0.4558, allocations: 1.195 MB / 0.6468 GB, free: 15.63 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.006167/0.4619, allocations: 4.372 MB / 0.651 GB, free: 11.24 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001694/0.4636, allocations: 1.041 MB / 0.6521 GB, free: 10.17 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002281/0.4659, allocations: 1.081 MB / 0.6531 GB, free: 9.082 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001201/0.4672, allocations: 0.8978 MB / 0.654 GB, free: 8.18 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001082/0.4673, allocations: 40 kB / 0.654 GB, free: 8.141 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00221/0.4695, allocations: 1.037 MB / 0.655 GB, free: 7.102 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002411/0.4697, allocations: 222.8 kB / 0.6553 GB, free: 6.883 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006599/0.4704, allocations: 0.6309 MB / 0.6559 GB, free: 6.242 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002374/0.4728, allocations: 1.876 MB / 0.6577 GB, free: 4.359 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.4728, allocations: 0 / 0.6577 GB, free: 4.359 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.4728, allocations: 0 / 0.6577 GB, free: 4.359 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.711e-05/0.4728, allocations: 0 / 0.6577 GB, free: 4.359 MB / 494.1 MB 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.00238/0.4752, allocations: 1.491 MB / 0.6592 GB, free: 2.812 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.401e-05/0.4753, allocations: 12.03 kB / 0.6592 GB, free: 2.801 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000148/0.4754, allocations: 131.4 kB / 0.6593 GB, free: 2.664 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005578/0.476, allocations: 219.1 kB / 0.6595 GB, free: 2.449 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001772/0.4778, allocations: 1.088 MB / 0.6606 GB, free: 1.305 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003586/0.4782, allocations: 129.9 kB / 0.6607 GB, free: 1.18 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001082/0.4783, allocations: 84 kB / 0.6608 GB, free: 1.098 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001834/0.4801, allocations: 1 MB / 0.6617 GB, free: 28 kB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.023e-05/0.4801, allocations: 0 / 0.6617 GB, free: 28 kB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.698e-05/0.4802, allocations: 40.08 kB / 0.6618 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.907e-05/0.4803, allocations: 24 kB / 0.6618 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001535/0.4818, allocations: 0.6907 MB / 0.6625 GB, free: 15.27 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.005008/0.4868, allocations: 4.442 MB / 0.6668 GB, free: 10.57 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001236/0.4881, allocations: 430.6 kB / 0.6672 GB, free: 10.14 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005699/0.4887, allocations: 240.6 kB / 0.6675 GB, free: 9.906 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008817/0.4895, allocations: 1.152 MB / 0.6686 GB, free: 8.496 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.862e-05/0.4896, allocations: 42.56 kB / 0.6686 GB, free: 8.445 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=29): time 1.894e-06/0.4896, allocations: 0 / 0.6686 GB, free: 8.445 MB / 0.4981 GB Notification: Performance of matching and sorting (n=29): time 0.003048/0.4926, allocations: 1.16 MB / 0.6698 GB, free: 7.215 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.328e-05/0.4927, allocations: 59.34 kB / 0.6698 GB, free: 7.145 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00113/0.4938, allocations: 0.9317 MB / 0.6707 GB, free: 6.199 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.403e-05/0.4939, allocations: 33.7 kB / 0.6708 GB, free: 6.16 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003986/0.4943, allocations: 0.5812 MB / 0.6713 GB, free: 5.574 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 9.799e-05/0.4944, allocations: 114.5 kB / 0.6714 GB, free: 5.461 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.284e-05/0.4945, allocations: 41.7 kB / 0.6715 GB, free: 5.414 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001122/0.4946, allocations: 322 kB / 0.6718 GB, free: 5.094 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005731/0.4952, allocations: 217 kB / 0.672 GB, free: 4.883 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006749/0.4958, allocations: 406.7 kB / 0.6724 GB, free: 4.41 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001424/0.4973, allocations: 0.6 MB / 0.673 GB, free: 3.734 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.878e-06/0.4973, allocations: 4 kB / 0.673 GB, free: 3.73 MB / 0.4981 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001638/0.4989, allocations: 0.7638 MB / 0.6737 GB, free: 2.949 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.114e-05/0.499, allocations: 12.66 kB / 0.6737 GB, free: 2.938 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.167e-06/0.499, allocations: 4 kB / 0.6737 GB, free: 2.934 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006995/0.4997, allocations: 162.5 kB / 0.6739 GB, free: 2.766 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007296/0.5004, allocations: 163.8 kB / 0.674 GB, free: 2.605 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001056/0.5015, allocations: 1.712 MB / 0.6757 GB, free: 0.8164 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007265/0.5022, allocations: 107.4 kB / 0.6758 GB, free: 0.7109 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.661e-05/0.5023, allocations: 31.98 kB / 0.6758 GB, free: 0.6797 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.0004782/0.5028, allocations: 265.6 kB / 0.6761 GB, free: 420 kB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001317/0.5029, allocations: 114.6 kB / 0.6762 GB, free: 304 kB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001952/0.5049, allocations: 0.7716 MB / 0.677 GB, free: 15.52 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.587e-05/0.5049, allocations: 11.98 kB / 0.677 GB, free: 15.51 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.5049, allocations: 0 / 0.677 GB, free: 15.51 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.931e-06/0.505, allocations: 4 kB / 0.677 GB, free: 15.51 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003001/0.508, allocations: 1.667 MB / 0.6786 GB, free: 13.76 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.598e-06/0.508, allocations: 4 kB / 0.6786 GB, free: 13.76 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005018/0.5085, allocations: 112 kB / 0.6787 GB, free: 13.65 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005833/0.5091, allocations: 150.4 kB / 0.6789 GB, free: 13.49 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.839e-05/0.5091, allocations: 8 kB / 0.6789 GB, free: 13.48 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001048/0.5102, allocations: 1.716 MB / 0.6805 GB, free: 11.69 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.5102, allocations: 0 / 0.6805 GB, free: 11.69 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001597/0.5118, allocations: 0.8204 MB / 0.6813 GB, free: 10.83 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003516/0.5122, allocations: 251.5 kB / 0.6816 GB, free: 10.56 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001251/0.5123, allocations: 4 kB / 0.6816 GB, free: 10.56 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006994/0.513, allocations: 99.84 kB / 0.6817 GB, free: 10.46 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.435e-05/0.5131, allocations: 19.97 kB / 0.6817 GB, free: 10.44 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.31e-05/0.5131, allocations: 19.98 kB / 0.6817 GB, free: 10.42 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0008117/0.514, allocations: 0.6381 MB / 0.6823 GB, free: 9.777 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.41e-07/0.514, allocations: 0 / 0.6823 GB, free: 9.777 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0009892/0.515, allocations: 363.1 kB / 0.6827 GB, free: 9.422 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.002584/0.5176, allocations: 1.678 MB / 0.6843 GB, free: 7.699 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001636/0.5192, allocations: 0.5752 MB / 0.6849 GB, free: 7.125 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.5192, allocations: 0 / 0.6849 GB, free: 7.125 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0008607/0.5201, allocations: 312.7 kB / 0.6852 GB, free: 6.82 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002677/0.5228, allocations: 0.4898 MB / 0.6857 GB, free: 6.336 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01253/0.5353, allocations: 8.063 MB / 0.6935 GB, free: 13.83 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006843/0.536, allocations: 1.099 MB / 0.6946 GB, free: 12.7 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0007058/0.5367, allocations: 186.3 kB / 0.6948 GB, free: 12.52 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004727/0.5372, allocations: 415.3 kB / 0.6952 GB, free: 12.12 MB / 0.5294 GB Notification: Performance of SimCode: time 7.21e-07/0.5372, allocations: 3.938 kB / 0.6952 GB, free: 12.11 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04983/0.5871, allocations: 27.25 MB / 0.7218 GB, free: 1.375 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002314/0.5873, allocations: 283.2 kB / 0.7221 GB, free: 1.004 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.41/2.997, allocations: 0 / 0.7221 GB, free: 1.004 MB / 0.545 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)