Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow,fileNamePrefix="Buildings_8_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeZeroFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow,fileNamePrefix="Buildings_8_Buildings_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.001212/0.001212, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002001/0.002001, allocations: 197 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.728/1.728, allocations: 205.1 MB / 222.4 MB, free: 4.598 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.887/1.887, allocations: 292.3 MB / 0.5489 GB, free: 12.84 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001728/0.001728, allocations: 68.48 kB / 0.6716 GB, free: 26.36 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2727/0.2745, allocations: 114.5 MB / 0.7835 GB, free: 13.41 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow): time 0.05402/0.3285, allocations: 49.76 MB / 0.8321 GB, free: 11.46 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.02143/0.35, allocations: 12.58 MB / 0.8443 GB, free: 14.86 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003915/0.354, allocations: 71.56 kB / 0.8444 GB, free: 14.79 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.00285/0.3569, allocations: 0.7565 MB / 0.8451 GB, free: 14.02 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.007052/0.364, allocations: 1.819 MB / 0.8469 GB, free: 12.2 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.004665/0.3687, allocations: 1.325 MB / 0.8482 GB, free: 10.88 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.005951/0.3746, allocations: 3.229 MB / 0.8514 GB, free: 7.641 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002444/0.3771, allocations: 1.258 MB / 0.8526 GB, free: 6.348 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00422/0.3814, allocations: 1.305 MB / 0.8539 GB, free: 5.055 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00237/0.3838, allocations: 0.9214 MB / 0.8548 GB, free: 4.129 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0003243/0.3841, allocations: 96 kB / 0.8549 GB, free: 4.035 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003373/0.3875, allocations: 1.064 MB / 0.8559 GB, free: 2.969 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0004514/0.388, allocations: 294.8 kB / 0.8562 GB, free: 2.68 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.001063/0.389, allocations: 0.6683 MB / 0.8568 GB, free: 2.008 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.003311/0.3924, allocations: 1.936 MB / 0.8587 GB, free: 68 kB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.3924, allocations: 0 / 0.8587 GB, free: 68 kB / 0.67 GB Notification: Performance of FrontEnd: time 1.202e-05/0.3924, allocations: 0 / 0.8587 GB, free: 68 kB / 0.67 GB Notification: Performance of Transformations before backend: time 1.718e-05/0.3924, allocations: 0 / 0.8587 GB, free: 68 kB / 0.67 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.002468/0.3949, allocations: 1.686 MB / 0.8604 GB, free: 14.33 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.148e-05/0.3949, allocations: 12.03 kB / 0.8604 GB, free: 14.32 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001406/0.3951, allocations: 131.4 kB / 0.8605 GB, free: 14.18 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006139/0.3957, allocations: 207.1 kB / 0.8607 GB, free: 13.98 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001664/0.3974, allocations: 1.026 MB / 0.8617 GB, free: 12.89 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003583/0.3978, allocations: 126.1 kB / 0.8618 GB, free: 12.77 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.494e-05/0.3979, allocations: 84 kB / 0.8619 GB, free: 12.69 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001595/0.3995, allocations: 1.006 MB / 0.8629 GB, free: 11.61 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.699e-05/0.3995, allocations: 3.938 kB / 0.8629 GB, free: 11.6 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.71e-05/0.3996, allocations: 40 kB / 0.8629 GB, free: 11.56 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.592e-05/0.3996, allocations: 24 kB / 0.863 GB, free: 11.54 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001457/0.4011, allocations: 0.6555 MB / 0.8636 GB, free: 10.88 MB / 0.6856 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.005001/0.4061, allocations: 4.762 MB / 0.8682 GB, free: 5.852 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001254/0.4074, allocations: 414.6 kB / 0.8686 GB, free: 5.438 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005513/0.4079, allocations: 228.6 kB / 0.8689 GB, free: 5.211 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008597/0.4088, allocations: 1.148 MB / 0.87 GB, free: 3.805 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.082e-05/0.4088, allocations: 42.56 kB / 0.87 GB, free: 3.754 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=29): time 2.224e-06/0.4088, allocations: 0 / 0.87 GB, free: 3.754 MB / 0.6856 GB Notification: Performance of matching and sorting (n=29): time 0.002958/0.4118, allocations: 1.084 MB / 0.8711 GB, free: 2.598 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.417e-05/0.4119, allocations: 55.34 kB / 0.8711 GB, free: 2.531 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001293/0.4132, allocations: 0.9668 MB / 0.8721 GB, free: 1.551 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 6.038e-05/0.4132, allocations: 33.7 kB / 0.8721 GB, free: 1.512 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004558/0.4137, allocations: 0.5888 MB / 0.8727 GB, free: 0.918 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001175/0.4138, allocations: 102.5 kB / 0.8728 GB, free: 0.8164 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001622/0.414, allocations: 110 kB / 0.8729 GB, free: 0.7031 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001326/0.4141, allocations: 330 kB / 0.8732 GB, free: 384 kB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005783/0.4147, allocations: 212.9 kB / 0.8734 GB, free: 172 kB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007474/0.4155, allocations: 410.3 kB / 0.8738 GB, free: 15.68 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001308/0.4168, allocations: 0.6106 MB / 0.8744 GB, free: 14.98 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.287e-06/0.4168, allocations: 4 kB / 0.8744 GB, free: 14.97 MB / 0.7012 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.0019/0.4187, allocations: 0.7598 MB / 0.8751 GB, free: 14.2 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.563e-05/0.4187, allocations: 11.66 kB / 0.8752 GB, free: 14.19 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.383e-05/0.4188, allocations: 8 kB / 0.8752 GB, free: 14.18 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007288/0.4195, allocations: 158.4 kB / 0.8753 GB, free: 14.02 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006287/0.4201, allocations: 151.8 kB / 0.8755 GB, free: 13.87 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001211/0.4214, allocations: 1.72 MB / 0.8771 GB, free: 12.07 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007985/0.4222, allocations: 91.42 kB / 0.8772 GB, free: 11.98 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.959e-05/0.4223, allocations: 31.98 kB / 0.8773 GB, free: 11.95 MB / 0.7012 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * 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 (52): * Single equations (assignments): 49 * 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.0005897/0.4229, allocations: 269.6 kB / 0.8775 GB, free: 11.68 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001893/0.423, allocations: 110.6 kB / 0.8776 GB, free: 11.57 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001948/0.425, allocations: 0.7221 MB / 0.8783 GB, free: 10.82 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.812e-05/0.425, allocations: 7.938 kB / 0.8783 GB, free: 10.82 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.563e-06/0.425, allocations: 0 / 0.8783 GB, free: 10.82 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.058e-05/0.4251, allocations: 3.984 kB / 0.8783 GB, free: 10.81 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003008/0.4281, allocations: 1.635 MB / 0.8799 GB, free: 9.098 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.836e-06/0.4281, allocations: 7.938 kB / 0.8799 GB, free: 9.09 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005022/0.4286, allocations: 91.83 kB / 0.88 GB, free: 9 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005775/0.4292, allocations: 154.6 kB / 0.8802 GB, free: 8.84 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.018e-05/0.4292, allocations: 12 kB / 0.8802 GB, free: 8.828 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001209/0.4305, allocations: 1.7 MB / 0.8818 GB, free: 7.051 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.957e-06/0.4305, allocations: 12.03 kB / 0.8819 GB, free: 7.039 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00173/0.4322, allocations: 0.7877 MB / 0.8826 GB, free: 6.207 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004576/0.4327, allocations: 247.6 kB / 0.8829 GB, free: 5.945 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001169/0.4328, allocations: 12 kB / 0.8829 GB, free: 5.934 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005908/0.4334, allocations: 48 kB / 0.8829 GB, free: 5.887 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.494e-05/0.4335, allocations: 39.84 kB / 0.883 GB, free: 5.848 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.52e-05/0.4336, allocations: 19.98 kB / 0.883 GB, free: 5.828 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0009281/0.4345, allocations: 0.6577 MB / 0.8836 GB, free: 5.164 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.21e-07/0.4345, allocations: 0 / 0.8836 GB, free: 5.164 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.001164/0.4357, allocations: 371.1 kB / 0.884 GB, free: 4.801 MB / 0.7012 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.002771/0.4385, allocations: 1.627 MB / 0.8856 GB, free: 3.121 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.001803/0.4403, allocations: 0.5789 MB / 0.8861 GB, free: 2.543 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 5.69e-06/0.4403, allocations: 0 / 0.8861 GB, free: 2.543 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0008669/0.4412, allocations: 301.2 kB / 0.8864 GB, free: 2.25 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002505/0.4437, allocations: 0.525 MB / 0.8869 GB, free: 1.742 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01139/0.4551, allocations: 7.688 MB / 0.8944 GB, free: 9.582 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006413/0.4558, allocations: 1.103 MB / 0.8955 GB, free: 8.449 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0008965/0.4567, allocations: 188 kB / 0.8957 GB, free: 8.262 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005153/0.4572, allocations: 415.3 kB / 0.8961 GB, free: 7.855 MB / 0.7169 GB Notification: Performance of SimCode: time 9.71e-07/0.4572, allocations: 0 / 0.8961 GB, free: 7.855 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4345/0.8918, allocations: 29.18 MB / 0.9246 GB, free: 133.2 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.06/12.95, allocations: 7.234 kB / 0.9246 GB, free: 133.2 MB / 0.7325 GB (rm -f Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe ; mkfifo Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe >> ../files/Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.sim & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow_res.csv --start-time 0 --stop-time 2 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeZeroFlow.fmu > Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe 2>&1)