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.007603/0.007603, allocations: 101.2 kB / 15.73 MB, free: 6.051 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.001808/0.001808, allocations: 189.1 kB / 16.67 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.26/1.26, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7459/0.7459, allocations: 132.2 MB / 422.7 MB, free: 6.539 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001187/0.001187, allocations: 63.31 kB / 0.5809 GB, free: 24.3 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1306/0.1318, allocations: 80.21 MB / 0.6592 GB, free: 10.84 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState): time 0.5045/0.6363, allocations: 221.9 MB / 0.8759 GB, free: 8.32 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.01676/0.6531, allocations: 13.74 MB / 0.8893 GB, free: 10.55 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001905/0.6551, allocations: 71.56 kB / 0.8894 GB, free: 10.48 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.001882/0.657, allocations: 0.8347 MB / 0.8902 GB, free: 9.637 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.004766/0.6618, allocations: 2.232 MB / 0.8924 GB, free: 7.395 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.002773/0.6646, allocations: 1.181 MB / 0.8935 GB, free: 6.23 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.003161/0.6677, allocations: 2.877 MB / 0.8963 GB, free: 3.348 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001351/0.6691, allocations: 1.194 MB / 0.8975 GB, free: 2.129 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005067/0.6742, allocations: 2.512 MB / 0.8999 GB, free: 15.62 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001625/0.6758, allocations: 1.014 MB / 0.9009 GB, free: 14.62 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.00015/0.676, allocations: 100 kB / 0.901 GB, free: 14.52 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002836/0.6788, allocations: 1.602 MB / 0.9026 GB, free: 12.92 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0004499/0.6793, allocations: 426.7 kB / 0.903 GB, free: 12.5 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0007865/0.6801, allocations: 0.6801 MB / 0.9037 GB, free: 11.82 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.002998/0.6831, allocations: 2.094 MB / 0.9057 GB, free: 9.715 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.6831, allocations: 3.938 kB / 0.9057 GB, free: 9.711 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.482e-06/0.6831, allocations: 0 / 0.9057 GB, free: 9.711 MB / 0.67 GB Notification: Performance of Transformations before backend: time 1.544e-05/0.6831, allocations: 4 kB / 0.9057 GB, free: 9.707 MB / 0.67 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.002462/0.6856, allocations: 1.701 MB / 0.9074 GB, free: 7.953 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 3.857e-05/0.6856, allocations: 8.031 kB / 0.9074 GB, free: 7.945 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001591/0.6858, allocations: 147.6 kB / 0.9075 GB, free: 7.793 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002122/0.6879, allocations: 434.7 kB / 0.9079 GB, free: 7.367 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001461/0.6894, allocations: 0.9568 MB / 0.9089 GB, free: 6.367 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.81e-05/0.6895, allocations: 70 kB / 0.9089 GB, free: 6.297 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001222/0.6896, allocations: 88 kB / 0.909 GB, free: 6.211 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001934/0.6916, allocations: 1.215 MB / 0.9102 GB, free: 4.879 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.309e-05/0.6916, allocations: 11.94 kB / 0.9102 GB, free: 4.867 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.497e-05/0.6917, allocations: 43.98 kB / 0.9103 GB, free: 4.824 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.895e-05/0.6917, allocations: 33.3 kB / 0.9103 GB, free: 4.793 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001884/0.6936, allocations: 0.8801 MB / 0.9111 GB, free: 3.914 MB / 0.67 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.006602/0.7002, allocations: 6.017 MB / 0.917 GB, free: 13.61 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004063/0.7006, allocations: 279.6 kB / 0.9173 GB, free: 13.28 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001937/0.7008, allocations: 141.1 kB / 0.9174 GB, free: 13.12 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001694/0.701, allocations: 101.1 kB / 0.9175 GB, free: 13.01 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.844e-05/0.7011, allocations: 42.5 kB / 0.9176 GB, free: 12.96 MB / 0.6856 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006157/0.7017, allocations: 111.4 kB / 0.9177 GB, free: 12.85 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=20): time 1.663e-06/0.7017, allocations: 0 / 0.9177 GB, free: 12.85 MB / 0.6856 GB Notification: Performance of matching and sorting (n=20): time 0.00115/0.7029, allocations: 483.7 kB / 0.9181 GB, free: 12.37 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.444e-05/0.7029, allocations: 187.8 kB / 0.9183 GB, free: 12.14 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00176/0.7047, allocations: 1.307 MB / 0.9196 GB, free: 10.82 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 3.257e-05/0.7048, allocations: 33.92 kB / 0.9196 GB, free: 10.78 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004815/0.7052, allocations: 0.6334 MB / 0.9202 GB, free: 10.14 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 6.534e-05/0.7053, allocations: 83.34 kB / 0.9203 GB, free: 10.06 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002052/0.7055, allocations: 138.1 kB / 0.9204 GB, free: 9.918 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001117/0.7056, allocations: 338 kB / 0.9208 GB, free: 9.582 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006343/0.7063, allocations: 232.9 kB / 0.921 GB, free: 9.352 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008569/0.7072, allocations: 0.5487 MB / 0.9215 GB, free: 8.66 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001036/0.7082, allocations: 0.6957 MB / 0.9222 GB, free: 7.824 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.087e-06/0.7082, allocations: 0 / 0.9222 GB, free: 7.824 MB / 0.6856 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001795/0.71, allocations: 0.864 MB / 0.9231 GB, free: 6.953 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.135e-05/0.71, allocations: 13.56 kB / 0.9231 GB, free: 6.941 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.196e-05/0.7101, allocations: 8 kB / 0.9231 GB, free: 6.934 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.269e-05/0.7101, allocations: 20.06 kB / 0.9231 GB, free: 6.914 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006951/0.7108, allocations: 164.6 kB / 0.9232 GB, free: 6.754 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.045e-05/0.7108, allocations: 23.86 kB / 0.9233 GB, free: 6.73 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001202/0.712, allocations: 127.9 kB / 0.9234 GB, free: 6.605 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.878e-05/0.7121, allocations: 47.86 kB / 0.9234 GB, free: 6.559 MB / 0.6856 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.0003414/0.7124, allocations: 298.4 kB / 0.9237 GB, free: 6.258 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002418/0.7127, allocations: 131.2 kB / 0.9238 GB, free: 6.129 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004349/0.7131, allocations: 280.3 kB / 0.9241 GB, free: 5.848 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.051e-06/0.7132, allocations: 4 kB / 0.9241 GB, free: 5.844 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.353e-05/0.7132, allocations: 7.938 kB / 0.9241 GB, free: 5.836 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/0.7132, allocations: 3.984 kB / 0.9241 GB, free: 5.832 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002005/0.7152, allocations: 1.678 MB / 0.9258 GB, free: 4.051 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.7152, allocations: 0 / 0.9258 GB, free: 4.051 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002189/0.7154, allocations: 43.92 kB / 0.9258 GB, free: 4.008 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.19e-06/0.7154, allocations: 4 kB / 0.9258 GB, free: 4.004 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.556e-05/0.7155, allocations: 4 kB / 0.9258 GB, free: 4 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.831e-06/0.7155, allocations: 7.938 kB / 0.9258 GB, free: 3.992 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/0.7155, allocations: 4 kB / 0.9258 GB, free: 3.988 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005025/0.716, allocations: 0.5005 MB / 0.9263 GB, free: 3.434 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003322/0.7163, allocations: 240.2 kB / 0.9265 GB, free: 3.18 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000147/0.7165, allocations: 4 kB / 0.9266 GB, free: 3.176 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007609/0.7172, allocations: 51.94 kB / 0.9266 GB, free: 3.125 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.953e-05/0.7173, allocations: 23.86 kB / 0.9266 GB, free: 3.102 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.091e-05/0.7173, allocations: 12.23 kB / 0.9266 GB, free: 3.09 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.001338/0.7187, allocations: 0.912 MB / 0.9275 GB, free: 2.176 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.71e-07/0.7187, allocations: 0 / 0.9275 GB, free: 2.176 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0007896/0.7195, allocations: 279.6 kB / 0.9278 GB, free: 1.902 MB / 0.6856 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.001033/0.7205, allocations: 1.146 MB / 0.9289 GB, free: 0.707 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.0009965/0.7215, allocations: 465.1 kB / 0.9294 GB, free: 260 kB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.7215, allocations: 0 / 0.9294 GB, free: 260 kB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0001373/0.7217, allocations: 101 kB / 0.9295 GB, free: 160 kB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002442/0.7241, allocations: 0.5846 MB / 0.93 GB, free: 15.6 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01103/0.7352, allocations: 8.145 MB / 0.938 GB, free: 6.973 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006355/0.7358, allocations: 1.118 MB / 0.9391 GB, free: 5.824 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.0007081/0.7365, allocations: 237.6 kB / 0.9393 GB, free: 5.59 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004774/0.737, allocations: 423.3 kB / 0.9397 GB, free: 5.176 MB / 0.7012 GB Notification: Performance of SimCode: time 4.5e-07/0.737, allocations: 0 / 0.9397 GB, free: 5.176 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04983/0.7869, allocations: 27.54 MB / 0.9666 GB, free: 10.05 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.021/9.808, allocations: 14.14 kB / 0.9666 GB, free: 10.04 MB / 0.7325 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)