Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.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.MixingVolumeMoistureReverseFlow,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlow",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.001763/0.001763, allocations: 108 kB / 15.6 MB, free: 132 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.002193/0.002193, allocations: 195.2 kB / 16.53 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.359/1.359, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.923/0.923, allocations: 135.1 MB / 425.5 MB, free: 12.02 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001541/0.001541, allocations: 64.38 kB / 0.5054 GB, free: 5.188 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1498/0.1513, allocations: 80.93 MB / 0.5845 GB, free: 4.418 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow): time 0.4669/0.6183, allocations: 221 MB / 0.8003 GB, free: 15.62 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.009635/0.628, allocations: 5.712 MB / 0.8059 GB, free: 9.898 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001364/0.6294, allocations: 39.75 kB / 0.806 GB, free: 9.859 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.001864/0.6313, allocations: 0.5786 MB / 0.8065 GB, free: 9.277 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.004595/0.6359, allocations: 1.836 MB / 0.8083 GB, free: 7.434 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.003031/0.639, allocations: 1.179 MB / 0.8095 GB, free: 6.27 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.003772/0.6427, allocations: 2.939 MB / 0.8123 GB, free: 3.32 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001678/0.6444, allocations: 1.021 MB / 0.8133 GB, free: 2.281 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002288/0.6467, allocations: 1.051 MB / 0.8144 GB, free: 1.227 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002297/0.649, allocations: 0.9381 MB / 0.8153 GB, free: 308 kB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0003084/0.6494, allocations: 111.9 kB / 0.8154 GB, free: 196 kB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002979/0.6523, allocations: 1.43 MB / 0.8168 GB, free: 14.76 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0005867/0.6529, allocations: 466.8 kB / 0.8172 GB, free: 14.3 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.001091/0.654, allocations: 0.6533 MB / 0.8179 GB, free: 13.64 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.003274/0.6573, allocations: 2.111 MB / 0.8199 GB, free: 11.53 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.6573, allocations: 0 / 0.8199 GB, free: 11.53 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.282e-06/0.6574, allocations: 0 / 0.8199 GB, free: 11.53 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 4.192e-05/0.6574, allocations: 0 / 0.8199 GB, free: 11.53 MB / 0.6387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 215 * Number of variables: 215 Notification: Performance of Generate backend data structure: time 0.002755/0.6602, allocations: 1.506 MB / 0.8214 GB, free: 9.973 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.872e-05/0.6602, allocations: 12.03 kB / 0.8214 GB, free: 9.961 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001934/0.6604, allocations: 139.3 kB / 0.8215 GB, free: 9.816 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002146/0.6626, allocations: 314.3 kB / 0.8218 GB, free: 9.508 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001385/0.664, allocations: 0.8162 MB / 0.8226 GB, free: 8.648 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.001e-05/0.664, allocations: 62 kB / 0.8227 GB, free: 8.586 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001447/0.6642, allocations: 88 kB / 0.8228 GB, free: 8.5 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001651/0.6658, allocations: 0.9286 MB / 0.8237 GB, free: 7.562 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.105e-05/0.6659, allocations: 0 / 0.8237 GB, free: 7.562 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.523e-05/0.666, allocations: 39.94 kB / 0.8237 GB, free: 7.523 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.746e-05/0.666, allocations: 33.94 kB / 0.8237 GB, free: 7.492 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001561/0.6676, allocations: 0.8431 MB / 0.8246 GB, free: 6.648 MB / 0.6387 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.005497/0.6731, allocations: 3.537 MB / 0.828 GB, free: 2.895 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008306/0.6739, allocations: 0.4988 MB / 0.8285 GB, free: 2.391 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004746/0.6744, allocations: 297.9 kB / 0.8288 GB, free: 2.102 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002019/0.6746, allocations: 105.5 kB / 0.8289 GB, free: 1.98 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.836e-05/0.6747, allocations: 42.98 kB / 0.8289 GB, free: 1.926 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=47): time 3.667e-06/0.6747, allocations: 0 / 0.8289 GB, free: 1.926 MB / 0.6387 GB Notification: Performance of matching and sorting (n=49): time 0.003815/0.6785, allocations: 1.876 MB / 0.8308 GB, free: 15.95 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.24e-05/0.6786, allocations: 59.84 kB / 0.8308 GB, free: 15.88 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00105/0.6797, allocations: 0.8019 MB / 0.8316 GB, free: 15.07 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 6e-05/0.6797, allocations: 37.7 kB / 0.8316 GB, free: 15.03 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003377/0.6801, allocations: 479.2 kB / 0.8321 GB, free: 14.55 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001552/0.6802, allocations: 173.6 kB / 0.8323 GB, free: 14.38 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001869/0.6804, allocations: 122.2 kB / 0.8324 GB, free: 14.25 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.000108/0.6805, allocations: 326 kB / 0.8327 GB, free: 13.93 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004299/0.681, allocations: 249.2 kB / 0.8329 GB, free: 13.69 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005292/0.6815, allocations: 384.6 kB / 0.8333 GB, free: 13.27 MB / 0.6544 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: volDyn.dynBal.medium.p = volDyn.dynBal.p_start (bou.p = volDyn.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.003727/0.6853, allocations: 1.536 MB / 0.8348 GB, free: 11.67 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.687e-06/0.6853, allocations: 5.75 kB / 0.8348 GB, free: 11.67 MB / 0.6544 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001413/0.6867, allocations: 0.8004 MB / 0.8356 GB, free: 10.86 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.796e-05/0.6867, allocations: 4 kB / 0.8356 GB, free: 10.86 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.026e-05/0.6867, allocations: 4 kB / 0.8356 GB, free: 10.85 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001822/0.6869, allocations: 65.67 kB / 0.8357 GB, free: 10.78 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000697/0.6876, allocations: 147.8 kB / 0.8358 GB, free: 10.64 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002583/0.6902, allocations: 3.124 MB / 0.8389 GB, free: 7.234 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008648/0.6911, allocations: 25.23 kB / 0.8389 GB, free: 7.211 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.617e-05/0.6912, allocations: 24 kB / 0.8389 GB, free: 7.188 MB / 0.6544 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: volDyn.dynBal.medium.p = volDyn.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (71): * 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: 2 * 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): 2 systems {(1,1), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0004966/0.6917, allocations: 310.5 kB / 0.8392 GB, free: 6.875 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002168/0.6919, allocations: 90.88 kB / 0.8393 GB, free: 6.785 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002166/0.6921, allocations: 100.7 kB / 0.8394 GB, free: 6.684 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.76e-06/0.6921, allocations: 12.06 kB / 0.8394 GB, free: 6.672 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/0.6922, allocations: 0 / 0.8394 GB, free: 6.672 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00103/0.6932, allocations: 0.8309 MB / 0.8402 GB, free: 5.754 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002875/0.6961, allocations: 1.79 MB / 0.8419 GB, free: 3.863 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.322e-06/0.6961, allocations: 4 kB / 0.842 GB, free: 3.859 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006349/0.6967, allocations: 131.8 kB / 0.8421 GB, free: 3.73 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.812e-05/0.6968, allocations: 44.83 kB / 0.8421 GB, free: 3.684 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.583e-05/0.6969, allocations: 12.25 kB / 0.8421 GB, free: 3.672 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001202/0.6981, allocations: 1.607 MB / 0.8437 GB, free: 1.93 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.48e-06/0.6981, allocations: 5 kB / 0.8437 GB, free: 1.926 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001588/0.6997, allocations: 1.095 MB / 0.8448 GB, free: 0.7695 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004191/0.7001, allocations: 232 kB / 0.845 GB, free: 0.5234 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001437/0.7003, allocations: 15.94 kB / 0.845 GB, free: 0.5078 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007318/0.701, allocations: 33.81 kB / 0.845 GB, free: 492 kB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001024/0.7012, allocations: 44 kB / 0.8451 GB, free: 448 kB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.587e-05/0.7012, allocations: 28.86 kB / 0.8451 GB, free: 420 kB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0007422/0.702, allocations: 0.5653 MB / 0.8457 GB, free: 15.85 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.1e-07/0.702, allocations: 0 / 0.8457 GB, free: 15.85 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0009084/0.7029, allocations: 271.9 kB / 0.8459 GB, free: 15.58 MB / 0.67 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 2 (volDyn.dynBal.U,volDyn.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 (47): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002173/0.7051, allocations: 1.736 MB / 0.8476 GB, free: 13.8 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.0015/0.7066, allocations: 0.8734 MB / 0.8485 GB, free: 12.9 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 6.492e-06/0.7066, allocations: 4 kB / 0.8485 GB, free: 12.89 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0005898/0.7072, allocations: 402.9 kB / 0.8489 GB, free: 12.49 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002835/0.7101, allocations: 0.594 MB / 0.8494 GB, free: 11.93 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009452/0.7195, allocations: 7.302 MB / 0.8566 GB, free: 4.289 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006487/0.7202, allocations: 1.08 MB / 0.8576 GB, free: 3.18 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0008513/0.721, allocations: 219.7 kB / 0.8578 GB, free: 2.961 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004503/0.7215, allocations: 347.3 kB / 0.8582 GB, free: 2.621 MB / 0.67 GB Notification: Performance of SimCode: time 4.61e-07/0.7215, allocations: 0 / 0.8582 GB, free: 2.621 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2751/0.9967, allocations: 27.23 MB / 0.8848 GB, free: 221.1 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.1/12.1, allocations: 8 kB / 0.8848 GB, free: 221.1 MB / 0.67 GB (rm -f IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlow.fmu > IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe 2>&1)