Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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_dev_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeInitialization",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeInitialization,fileNamePrefix="IDEAS_dev_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.008018/0.008019, allocations: 97.64 kB / 15.73 MB, free: 6.48 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.001581/0.001581, allocations: 192.4 kB / 16.67 MB, free: 6.391 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.366/1.366, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9274/0.9274, allocations: 135.1 MB / 425.7 MB, free: 11.92 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002127/0.002127, allocations: 63.91 kB / 0.5851 GB, free: 3.848 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4477/0.4498, allocations: 80.92 MB / 0.6642 GB, free: 7.258 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeInitialization): time 0.2124/0.6623, allocations: 187.9 MB / 0.8476 GB, free: 5.051 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.01473/0.677, allocations: 10.75 MB / 0.8581 GB, free: 10.27 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001281/0.6783, allocations: 39.75 kB / 0.8581 GB, free: 10.23 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.001561/0.68, allocations: 493 kB / 0.8586 GB, free: 9.746 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.006494/0.6865, allocations: 2.579 MB / 0.8611 GB, free: 7.156 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.005945/0.6924, allocations: 2.454 MB / 0.8635 GB, free: 4.707 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.003598/0.6961, allocations: 2.773 MB / 0.8662 GB, free: 1.93 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001324/0.6974, allocations: 0.7839 MB / 0.867 GB, free: 1.129 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002062/0.6995, allocations: 1.02 MB / 0.868 GB, free: 108 kB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.5137/1.213, allocations: 1.051 MB / 0.869 GB, free: 5.75 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0003355/1.214, allocations: 98.59 kB / 0.8691 GB, free: 5.75 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006911/1.22, allocations: 3.005 MB / 0.8721 GB, free: 5.75 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0008791/1.221, allocations: 434.1 kB / 0.8725 GB, free: 5.75 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.001186/1.223, allocations: 0.5822 MB / 0.873 GB, free: 5.75 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.007198/1.23, allocations: 2.961 MB / 0.8759 GB, free: 5.688 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 6.111e-06/1.23, allocations: 1.594 kB / 0.8759 GB, free: 5.688 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.823e-06/1.23, allocations: 0 / 0.8759 GB, free: 5.688 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 3.18e-05/1.23, allocations: 0 / 0.8759 GB, free: 5.688 MB / 0.6856 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.005104/1.235, allocations: 1.679 MB / 0.8776 GB, free: 4.801 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 6.942e-05/1.235, allocations: 10.72 kB / 0.8776 GB, free: 4.801 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002231/1.235, allocations: 122.4 kB / 0.8777 GB, free: 4.762 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002421/1.238, allocations: 287.1 kB / 0.878 GB, free: 4.707 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002058/1.24, allocations: 0.8301 MB / 0.8788 GB, free: 4.387 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.496e-05/1.24, allocations: 56.72 kB / 0.8788 GB, free: 4.387 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001835/1.24, allocations: 64.12 kB / 0.8789 GB, free: 4.387 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002193/1.242, allocations: 0.9936 MB / 0.8799 GB, free: 4.309 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.368e-05/1.242, allocations: 1.656 kB / 0.8799 GB, free: 4.309 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.587e-05/1.242, allocations: 32.45 kB / 0.8799 GB, free: 4.309 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000126/1.243, allocations: 72.64 kB / 0.88 GB, free: 4.309 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001794/1.244, allocations: 1.008 MB / 0.881 GB, free: 4.297 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.006849/1.251, allocations: 3.578 MB / 0.8844 GB, free: 18.98 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001244/1.252, allocations: 0.6532 MB / 0.8851 GB, free: 18.95 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000574/1.253, allocations: 377.1 kB / 0.8854 GB, free: 18.95 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002853/1.253, allocations: 199.9 kB / 0.8856 GB, free: 18.76 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.587e-05/1.253, allocations: 38.44 kB / 0.8857 GB, free: 18.72 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=62): time 3.006e-06/1.253, allocations: 3.875 kB / 0.8857 GB, free: 18.72 MB / 0.7012 GB Notification: Performance of matching and sorting (n=62): time 0.002279/1.256, allocations: 1.025 MB / 0.8867 GB, free: 18.63 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001005/1.256, allocations: 113.2 kB / 0.8868 GB, free: 18.5 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001565/1.257, allocations: 0.7986 MB / 0.8876 GB, free: 18.38 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 9.836e-05/1.257, allocations: 39.14 kB / 0.8876 GB, free: 18.34 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003696/1.258, allocations: 424.5 kB / 0.888 GB, free: 18.17 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002581/1.258, allocations: 221.9 kB / 0.8882 GB, free: 18.03 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002961/1.258, allocations: 141.6 kB / 0.8884 GB, free: 18.01 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.000154/1.259, allocations: 337.3 kB / 0.8887 GB, free: 17.7 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000618/1.259, allocations: 341.4 kB / 0.889 GB, free: 17.7 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007012/1.26, allocations: 468.9 kB / 0.8894 GB, free: 17.59 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001212/1.261, allocations: 0.7719 MB / 0.8902 GB, free: 17.51 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.692e-06/1.261, allocations: 1.781 kB / 0.8902 GB, free: 17.51 MB / 0.7012 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.0017/1.263, allocations: 0.9193 MB / 0.8911 GB, free: 17.43 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.425e-05/1.263, allocations: 10.19 kB / 0.8911 GB, free: 17.43 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.436e-05/1.263, allocations: 5.406 kB / 0.8911 GB, free: 17.43 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.579e-05/1.263, allocations: 7.609 kB / 0.8911 GB, free: 17.43 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007744/1.264, allocations: 150.4 kB / 0.8913 GB, free: 17.43 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.54e-05/1.264, allocations: 5.5 kB / 0.8913 GB, free: 17.43 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001007/1.265, allocations: 87 kB / 0.8914 GB, free: 17.38 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.115e-05/1.265, allocations: 28.06 kB / 0.8914 GB, free: 17.38 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009822/1.266, allocations: 0.5334 MB / 0.8919 GB, free: 17.3 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006161/1.266, allocations: 459.8 kB / 0.8923 GB, free: 17.18 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001058/1.268, allocations: 0.7363 MB / 0.8931 GB, free: 17.07 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.497e-06/1.268, allocations: 1.156 kB / 0.8931 GB, free: 17.07 MB / 0.7012 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.001548/1.269, allocations: 0.8875 MB / 0.8939 GB, free: 16.98 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.615e-05/1.269, allocations: 7.5 kB / 0.8939 GB, free: 16.98 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/1.269, allocations: 4.266 kB / 0.8939 GB, free: 16.98 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.007e-06/1.269, allocations: 6.906 kB / 0.8939 GB, free: 16.98 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006632/1.27, allocations: 149.2 kB / 0.8941 GB, free: 16.98 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.147e-05/1.27, allocations: 10.28 kB / 0.8941 GB, free: 16.98 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009096/1.271, allocations: 66.31 kB / 0.8942 GB, free: 16.95 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.892e-05/1.271, allocations: 28.66 kB / 0.8942 GB, free: 16.95 MB / 0.7012 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.000302/1.271, allocations: 223.1 kB / 0.8944 GB, free: 16.77 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001936/1.271, allocations: 92.66 kB / 0.8945 GB, free: 16.72 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001464/1.273, allocations: 0.8059 MB / 0.8953 GB, free: 16.67 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.175e-06/1.273, allocations: 7.031 kB / 0.8953 GB, free: 16.67 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/1.273, allocations: 1.094 kB / 0.8953 GB, free: 16.67 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008721/1.274, allocations: 0.746 MB / 0.896 GB, free: 16.5 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002942/1.277, allocations: 2.095 MB / 0.8981 GB, free: 16.05 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.134e-06/1.277, allocations: 3.375 kB / 0.8981 GB, free: 16.05 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006386/1.277, allocations: 130.9 kB / 0.8982 GB, free: 16.05 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.172e-05/1.277, allocations: 6.156 kB / 0.8982 GB, free: 16.05 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.696e-05/1.277, allocations: 24.56 kB / 0.8982 GB, free: 16.05 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-05/1.277, allocations: 13.45 kB / 0.8982 GB, free: 16.05 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/1.277, allocations: 3.094 kB / 0.8982 GB, free: 16.05 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001638/1.279, allocations: 1.402 MB / 0.8996 GB, free: 15.74 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004422/1.28, allocations: 251.7 kB / 0.8998 GB, free: 15.59 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001351/1.28, allocations: 16.25 kB / 0.8999 GB, free: 15.59 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005621/1.28, allocations: 26.89 kB / 0.8999 GB, free: 15.59 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.084e-05/1.28, allocations: 51.91 kB / 0.8999 GB, free: 15.58 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.551e-05/1.28, allocations: 21.98 kB / 0.9 GB, free: 15.58 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0006801/1.281, allocations: 0.5572 MB / 0.9005 GB, free: 15.48 MB / 0.7012 GB Notification: Performance of sort global known variables: time 9.92e-07/1.281, allocations: 0 / 0.9005 GB, free: 15.48 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.002057/1.283, allocations: 0.7508 MB / 0.9012 GB, free: 15.37 MB / 0.7012 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.003319/1.286, allocations: 2.384 MB / 0.9036 GB, free: 14.44 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.001826/1.288, allocations: 1.19 MB / 0.9047 GB, free: 14.42 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 7.344e-06/1.288, allocations: 2.109 kB / 0.9047 GB, free: 14.42 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0004621/1.289, allocations: 368.2 kB / 0.9051 GB, free: 14.42 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002357/1.291, allocations: 0.539 MB / 0.9056 GB, free: 14.35 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01031/1.301, allocations: 7.849 MB / 0.9133 GB, free: 12.03 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007042/1.302, allocations: 1.077 MB / 0.9143 GB, free: 11.32 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.001511/1.304, allocations: 416.8 kB / 0.9147 GB, free: 11.29 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004894/1.304, allocations: 334.3 kB / 0.915 GB, free: 11.29 MB / 0.7012 GB Notification: Performance of SimCode: time 2.966e-06/1.304, allocations: 0 / 0.915 GB, free: 11.29 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06847/1.373, allocations: 31.86 MB / 0.9461 GB, free: 12.91 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.89/12.27, allocations: 14.28 kB / 0.9462 GB, free: 12.9 MB / 0.7169 GB (rm -f IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeInitialization_fmu --startTime=0 --stopTime=0.001 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeInitialization.fmu > IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe 2>&1)