Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState.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.MoistureMixingConservationSteadyState,fileNamePrefix="IDEAS_IDEAS_Fluid_MixingVolumes_Validation_MoistureMixingConservationSteadyState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState,fileNamePrefix="IDEAS_IDEAS_Fluid_MixingVolumes_Validation_MoistureMixingConservationSteadyState",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.004393/0.004393, allocations: 96.62 kB / 15.73 MB, free: 6.043 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.001217/0.001217, allocations: 195.5 kB / 16.68 MB, free: 5.969 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.35/1.35, allocations: 222.9 MB / 240.4 MB, free: 4.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7864/0.7864, allocations: 132.2 MB / 422.7 MB, free: 1.699 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001838/0.001838, allocations: 63.89 kB / 0.5809 GB, free: 8.031 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3522/0.354, allocations: 80.2 MB / 0.6592 GB, free: 9.852 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState): time 0.5794/0.9335, allocations: 221.8 MB / 0.8759 GB, free: 1.98 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.0154/0.949, allocations: 13.74 MB / 0.8893 GB, free: 1.895 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002133/0.9511, allocations: 64.69 kB / 0.8893 GB, free: 1.895 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.001758/0.9529, allocations: 0.8077 MB / 0.8901 GB, free: 1.883 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.004578/0.9575, allocations: 2.142 MB / 0.8922 GB, free: 1.805 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.002737/0.9603, allocations: 1.19 MB / 0.8934 GB, free: 1.77 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.00353/0.9638, allocations: 2.871 MB / 0.8962 GB, free: 1.762 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001448/0.9653, allocations: 1.191 MB / 0.8974 GB, free: 1.637 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00533/0.9706, allocations: 2.439 MB / 0.8997 GB, free: 1.586 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002037/0.9727, allocations: 1.027 MB / 0.9007 GB, free: 1.57 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0002023/0.9729, allocations: 101 kB / 0.9008 GB, free: 1.57 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003107/0.976, allocations: 1.58 MB / 0.9024 GB, free: 1.555 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0004171/0.9764, allocations: 434.4 kB / 0.9028 GB, free: 1.551 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0008109/0.9772, allocations: 0.679 MB / 0.9035 GB, free: 1.551 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.002934/0.9802, allocations: 2.094 MB / 0.9055 GB, free: 1.402 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.9802, allocations: 1.469 kB / 0.9055 GB, free: 1.402 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.623e-06/0.9802, allocations: 0 / 0.9055 GB, free: 1.402 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 1.861e-05/0.9802, allocations: 2.125 kB / 0.9055 GB, free: 1.402 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: 225 * Number of variables: 225 Notification: Performance of Generate backend data structure: time 0.002381/0.9826, allocations: 1.701 MB / 0.9072 GB, free: 16.47 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 3.816e-05/0.9827, allocations: 9.906 kB / 0.9072 GB, free: 16.47 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001428/0.9828, allocations: 139.4 kB / 0.9073 GB, free: 16.43 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002142/0.985, allocations: 441.9 kB / 0.9077 GB, free: 16.35 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001375/0.9864, allocations: 0.9508 MB / 0.9087 GB, free: 15.98 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.384e-05/0.9864, allocations: 71.97 kB / 0.9087 GB, free: 15.98 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001181/0.9866, allocations: 90.97 kB / 0.9088 GB, free: 15.98 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001829/0.9884, allocations: 1.221 MB / 0.91 GB, free: 15.64 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.407e-05/0.9884, allocations: 5.625 kB / 0.91 GB, free: 15.64 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.865e-05/0.9885, allocations: 40.91 kB / 0.9101 GB, free: 15.64 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.652e-05/0.9886, allocations: 39.22 kB / 0.9101 GB, free: 15.64 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001652/0.9902, allocations: 0.8715 MB / 0.9109 GB, free: 15.63 MB / 0.7012 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.006315/0.9965, allocations: 6.037 MB / 0.9168 GB, free: 11.73 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004007/0.997, allocations: 257 kB / 0.9171 GB, free: 11.59 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001773/0.9971, allocations: 148.9 kB / 0.9172 GB, free: 11.54 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001766/0.9973, allocations: 100.9 kB / 0.9173 GB, free: 11.45 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.463e-05/0.9974, allocations: 41.5 kB / 0.9174 GB, free: 11.41 MB / 0.7012 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000622/0.998, allocations: 120.8 kB / 0.9175 GB, free: 11.36 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=20): time 2.144e-06/0.998, allocations: 0 / 0.9175 GB, free: 11.36 MB / 0.7012 GB Notification: Performance of matching and sorting (n=20): time 0.001093/0.9991, allocations: 479.4 kB / 0.9179 GB, free: 11.26 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.957e-05/0.9992, allocations: 184.2 kB / 0.9181 GB, free: 11.04 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001607/1.001, allocations: 1.309 MB / 0.9194 GB, free: 10.87 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 3.429e-05/1.001, allocations: 32.64 kB / 0.9194 GB, free: 10.84 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004184/1.001, allocations: 0.6397 MB / 0.92 GB, free: 10.58 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 7.291e-05/1.001, allocations: 75.17 kB / 0.9201 GB, free: 10.53 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002149/1.002, allocations: 141.3 kB / 0.9203 GB, free: 10.5 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.000147/1.002, allocations: 332.5 kB / 0.9206 GB, free: 10.2 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006138/1.002, allocations: 239.2 kB / 0.9208 GB, free: 10.2 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008462/1.003, allocations: 0.5533 MB / 0.9213 GB, free: 9.812 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001043/1.004, allocations: 0.6919 MB / 0.922 GB, free: 9.441 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.4e-06/1.004, allocations: 4.75 kB / 0.922 GB, free: 9.441 MB / 0.7012 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001693/1.006, allocations: 0.8604 MB / 0.9229 GB, free: 9.324 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.798e-05/1.006, allocations: 11.06 kB / 0.9229 GB, free: 9.324 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.087e-05/1.006, allocations: 8.5 kB / 0.9229 GB, free: 9.324 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.574e-05/1.006, allocations: 19.75 kB / 0.9229 GB, free: 9.32 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00064/1.007, allocations: 174.9 kB / 0.9231 GB, free: 9.316 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.521e-05/1.007, allocations: 23.23 kB / 0.9231 GB, free: 9.312 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001211/1.008, allocations: 118.6 kB / 0.9232 GB, free: 9.309 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.566e-05/1.008, allocations: 40.78 kB / 0.9232 GB, free: 9.309 MB / 0.7012 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * 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 (69): * Single equations (assignments): 69 * 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.0003436/1.008, allocations: 300.3 kB / 0.9235 GB, free: 9.184 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002367/1.009, allocations: 133.3 kB / 0.9236 GB, free: 9.117 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004223/1.009, allocations: 283.4 kB / 0.9239 GB, free: 9.062 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.544e-06/1.009, allocations: 7.062 kB / 0.9239 GB, free: 9.062 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/1.009, allocations: 3.938 kB / 0.9239 GB, free: 9.059 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/1.009, allocations: 6.062 kB / 0.9239 GB, free: 9.055 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00195/1.011, allocations: 1.673 MB / 0.9256 GB, free: 8.27 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.396e-06/1.011, allocations: 2.094 kB / 0.9256 GB, free: 8.27 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001995/1.011, allocations: 40.72 kB / 0.9256 GB, free: 8.27 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.459e-06/1.011, allocations: 3.281 kB / 0.9256 GB, free: 8.27 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.734e-05/1.011, allocations: 4.594 kB / 0.9256 GB, free: 8.27 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.599e-06/1.011, allocations: 9.562 kB / 0.9256 GB, free: 8.27 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.689e-06/1.011, allocations: 11.5 kB / 0.9256 GB, free: 8.262 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005385/1.012, allocations: 499.2 kB / 0.9261 GB, free: 7.961 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003078/1.012, allocations: 246.9 kB / 0.9263 GB, free: 7.801 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001454/1.012, allocations: 8.797 kB / 0.9264 GB, free: 7.801 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006973/1.013, allocations: 49.16 kB / 0.9264 GB, free: 7.793 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.774e-05/1.013, allocations: 20.81 kB / 0.9264 GB, free: 7.789 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.92e-05/1.013, allocations: 17.62 kB / 0.9264 GB, free: 7.785 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.001302/1.014, allocations: 0.9073 MB / 0.9273 GB, free: 7.672 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.7e-07/1.014, allocations: 3.094 kB / 0.9273 GB, free: 7.672 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.0008163/1.015, allocations: 281.5 kB / 0.9276 GB, free: 7.645 MB / 0.7012 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * 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 (20): * Single equations (assignments): 20 * 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.001176/1.016, allocations: 1.139 MB / 0.9287 GB, free: 6.793 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.0009459/1.017, allocations: 458.7 kB / 0.9291 GB, free: 6.781 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/1.017, allocations: 0 / 0.9291 GB, free: 6.781 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0001274/1.018, allocations: 111.5 kB / 0.9293 GB, free: 6.777 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002457/1.02, allocations: 0.589 MB / 0.9298 GB, free: 6.691 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01081/1.031, allocations: 8.146 MB / 0.9378 GB, free: 3.668 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007284/1.032, allocations: 1.119 MB / 0.9389 GB, free: 2.949 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.0008488/1.032, allocations: 243.8 kB / 0.9391 GB, free: 2.891 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004208/1.033, allocations: 411.1 kB / 0.9395 GB, free: 2.883 MB / 0.7012 GB Notification: Performance of SimCode: time 4.61e-07/1.033, allocations: 0 / 0.9395 GB, free: 2.883 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05706/1.09, allocations: 27.55 MB / 0.9664 GB, free: 1.859 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.496/10.59, allocations: 3.938 kB / 0.9664 GB, free: 1.855 MB / 0.7169 GB (rm -f IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState.pipe ; mkfifo IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState.pipe >> ../files/IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_IDEAS_Fluid_MixingVolumes_Validation_MoistureMixingConservationSteadyState.fmu > IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState.pipe 2>&1)