Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-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.MoistureMixingConservationSteadyState,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_MoistureMixingConservationSteadyState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState,fileNamePrefix="IDEAS_dev_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.001125/0.001125, allocations: 108 kB / 15.61 MB, free: 128 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.001137/0.001137, allocations: 198 kB / 16.53 MB, free: 6.668 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.389/1.389, allocations: 222.9 MB / 240.2 MB, free: 4.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9042/0.9042, allocations: 135.1 MB / 425.5 MB, free: 12.01 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001242/0.001242, allocations: 68.36 kB / 0.5054 GB, free: 5.223 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1399/0.1411, allocations: 80.93 MB / 0.5845 GB, free: 4.461 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState): time 0.4442/0.5853, allocations: 221.8 MB / 0.8011 GB, free: 14.91 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01782/0.6032, allocations: 13.73 MB / 0.8145 GB, free: 1.145 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001905/0.6051, allocations: 67.62 kB / 0.8146 GB, free: 1.078 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.002075/0.6072, allocations: 0.7996 MB / 0.8154 GB, free: 280 kB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.005026/0.6123, allocations: 2.158 MB / 0.8175 GB, free: 14.1 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.002821/0.6151, allocations: 1.169 MB / 0.8186 GB, free: 12.95 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.003336/0.6185, allocations: 2.86 MB / 0.8214 GB, free: 10.08 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001599/0.6201, allocations: 1.198 MB / 0.8226 GB, free: 8.859 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005131/0.6252, allocations: 2.442 MB / 0.825 GB, free: 6.422 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001912/0.6271, allocations: 1.019 MB / 0.826 GB, free: 5.426 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0002255/0.6274, allocations: 100 kB / 0.8261 GB, free: 5.328 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002783/0.6302, allocations: 1.578 MB / 0.8276 GB, free: 3.746 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0004841/0.6307, allocations: 442.6 kB / 0.828 GB, free: 3.312 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0008878/0.6316, allocations: 0.6762 MB / 0.8287 GB, free: 2.633 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.002857/0.6344, allocations: 2.045 MB / 0.8307 GB, free: 0.5859 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.6344, allocations: 0 / 0.8307 GB, free: 0.5859 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.252e-06/0.6345, allocations: 0 / 0.8307 GB, free: 0.5859 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 5.003e-05/0.6345, allocations: 0 / 0.8307 GB, free: 0.5859 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: 225 * Number of variables: 225 Notification: Performance of Generate backend data structure: time 0.00265/0.6372, allocations: 1.657 MB / 0.8323 GB, free: 14.88 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.605e-05/0.6372, allocations: 8.031 kB / 0.8323 GB, free: 14.87 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001686/0.6374, allocations: 155.5 kB / 0.8325 GB, free: 14.71 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002294/0.6397, allocations: 425.9 kB / 0.8329 GB, free: 14.29 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001433/0.6411, allocations: 0.8896 MB / 0.8337 GB, free: 13.36 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009516/0.6421, allocations: 233.8 kB / 0.834 GB, free: 13.13 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001223/0.6422, allocations: 88 kB / 0.834 GB, free: 13.04 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002088/0.6443, allocations: 1.231 MB / 0.8352 GB, free: 11.7 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.337e-05/0.6444, allocations: 7.938 kB / 0.8353 GB, free: 11.69 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.556e-05/0.6445, allocations: 40 kB / 0.8353 GB, free: 11.65 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.853e-05/0.6445, allocations: 41.3 kB / 0.8353 GB, free: 11.61 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002133/0.6466, allocations: 0.9024 MB / 0.8362 GB, free: 10.71 MB / 0.6544 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.006713/0.6534, allocations: 6.073 MB / 0.8421 GB, free: 4.348 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004049/0.6538, allocations: 259.7 kB / 0.8424 GB, free: 4.039 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001937/0.654, allocations: 145.1 kB / 0.8425 GB, free: 3.879 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001579/0.6542, allocations: 93.09 kB / 0.8426 GB, free: 3.77 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.79e-05/0.6542, allocations: 50.48 kB / 0.8427 GB, free: 3.711 MB / 0.6544 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006446/0.6549, allocations: 119 kB / 0.8428 GB, free: 3.594 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=20): time 2.375e-06/0.6549, allocations: 3.938 kB / 0.8428 GB, free: 3.59 MB / 0.6544 GB Notification: Performance of matching and sorting (n=20): time 0.001186/0.6561, allocations: 475.9 kB / 0.8432 GB, free: 3.117 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.517e-05/0.6562, allocations: 195.8 kB / 0.8434 GB, free: 2.883 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00201/0.6582, allocations: 1.315 MB / 0.8447 GB, free: 1.551 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 3.576e-05/0.6582, allocations: 29.7 kB / 0.8447 GB, free: 1.516 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005254/0.6588, allocations: 0.6282 MB / 0.8453 GB, free: 0.8789 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 6.409e-05/0.6588, allocations: 71.02 kB / 0.8454 GB, free: 0.8086 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002131/0.659, allocations: 141.9 kB / 0.8456 GB, free: 0.6641 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001176/0.6592, allocations: 330 kB / 0.8459 GB, free: 344 kB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007432/0.6599, allocations: 252.9 kB / 0.8461 GB, free: 92 kB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009834/0.6609, allocations: 0.5675 MB / 0.8467 GB, free: 15.38 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001192/0.6621, allocations: 0.7098 MB / 0.8474 GB, free: 14.52 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.063e-06/0.6621, allocations: 4 kB / 0.8474 GB, free: 14.52 MB / 0.67 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.00209/0.6642, allocations: 0.8857 MB / 0.8482 GB, free: 13.63 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.9e-05/0.6643, allocations: 8 kB / 0.8482 GB, free: 13.62 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.353e-05/0.6643, allocations: 8 kB / 0.8482 GB, free: 13.61 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.278e-05/0.6643, allocations: 20.06 kB / 0.8483 GB, free: 13.59 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007705/0.6651, allocations: 175.7 kB / 0.8484 GB, free: 13.42 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.219e-05/0.6651, allocations: 27.86 kB / 0.8485 GB, free: 13.39 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001417/0.6665, allocations: 147.8 kB / 0.8486 GB, free: 13.25 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.184e-05/0.6666, allocations: 35.98 kB / 0.8486 GB, free: 13.21 MB / 0.67 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.0004768/0.6671, allocations: 297.5 kB / 0.8489 GB, free: 12.91 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003198/0.6674, allocations: 126.5 kB / 0.849 GB, free: 12.79 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005713/0.668, allocations: 288 kB / 0.8493 GB, free: 12.5 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.32e-06/0.668, allocations: 0 / 0.8493 GB, free: 12.5 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.041e-05/0.668, allocations: 7.938 kB / 0.8493 GB, free: 12.5 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.253e-06/0.6681, allocations: 3.984 kB / 0.8493 GB, free: 12.49 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002513/0.6706, allocations: 1.679 MB / 0.851 GB, free: 10.71 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.078e-06/0.6706, allocations: 0 / 0.851 GB, free: 10.71 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002241/0.6708, allocations: 39.92 kB / 0.851 GB, free: 10.67 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.346e-06/0.6708, allocations: 8.375 kB / 0.851 GB, free: 10.66 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.793e-05/0.6709, allocations: 8 kB / 0.851 GB, free: 10.66 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.172e-06/0.6709, allocations: 5.328 kB / 0.851 GB, free: 10.65 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.537e-06/0.6709, allocations: 4 kB / 0.851 GB, free: 10.65 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005393/0.6714, allocations: 498.3 kB / 0.8515 GB, free: 10.11 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003287/0.6718, allocations: 240.4 kB / 0.8517 GB, free: 9.852 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001885/0.672, allocations: 8 kB / 0.8517 GB, free: 9.844 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008253/0.6728, allocations: 59.88 kB / 0.8518 GB, free: 9.785 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.961e-05/0.6729, allocations: 19.92 kB / 0.8518 GB, free: 9.766 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.487e-05/0.6729, allocations: 12 kB / 0.8518 GB, free: 9.754 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.001611/0.6745, allocations: 0.9276 MB / 0.8527 GB, free: 8.824 MB / 0.67 GB Notification: Performance of sort global known variables: time 2.91e-07/0.6745, allocations: 3.938 kB / 0.8527 GB, free: 8.82 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0009029/0.6754, allocations: 279.5 kB / 0.853 GB, free: 8.547 MB / 0.67 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.001097/0.6765, allocations: 1.134 MB / 0.8541 GB, free: 7.359 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.001204/0.6778, allocations: 477.1 kB / 0.8546 GB, free: 6.895 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 5.4e-06/0.6778, allocations: 4.75 kB / 0.8546 GB, free: 6.891 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0001559/0.6779, allocations: 100 kB / 0.8547 GB, free: 6.793 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002644/0.6806, allocations: 0.5809 MB / 0.8552 GB, free: 6.242 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2269/0.9075, allocations: 8.76 MB / 0.8638 GB, free: 220.8 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004089/0.9079, allocations: 1.116 MB / 0.8649 GB, free: 220.1 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0009249/0.9089, allocations: 235.8 kB / 0.8651 GB, free: 220.1 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004111/0.9093, allocations: 415.7 kB / 0.8655 GB, free: 220.1 MB / 0.67 GB Notification: Performance of SimCode: time 1.733e-06/0.9093, allocations: 0 / 0.8655 GB, free: 220.1 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04635/0.9557, allocations: 27.34 MB / 0.8922 GB, free: 218.4 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.861/8.816, allocations: 9.172 kB / 0.8922 GB, free: 218.4 MB / 0.67 GB (rm -f IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState.sim & python3 -m fmpy simulate --output-file IDEAS_dev_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_dev_IDEAS_Fluid_MixingVolumes_Validation_MoistureMixingConservationSteadyState.fmu > IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState.pipe 2>&1)