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.004576/0.004576, allocations: 97.62 kB / 15.73 MB, free: 6.059 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.001235/0.001235, allocations: 197.7 kB / 16.68 MB, free: 5.977 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.365/1.365, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9309/0.9309, allocations: 135.6 MB / 426.1 MB, free: 11.8 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00188/0.00188, allocations: 71.89 kB / 0.5858 GB, free: 3.207 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3798/0.3817, allocations: 81.03 MB / 0.6649 GB, free: 6.828 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState): time 0.6057/0.9874, allocations: 221.8 MB / 0.8816 GB, free: 1.906 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.01559/1.003, allocations: 13.74 MB / 0.895 GB, free: 1.797 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002263/1.005, allocations: 65.19 kB / 0.895 GB, free: 1.797 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.001852/1.007, allocations: 0.804 MB / 0.8958 GB, free: 1.785 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.005378/1.013, allocations: 2.153 MB / 0.8979 GB, free: 1.695 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.00343/1.016, allocations: 1.192 MB / 0.8991 GB, free: 1.656 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.004612/1.021, allocations: 2.865 MB / 0.9019 GB, free: 1.645 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001715/1.022, allocations: 1.191 MB / 0.903 GB, free: 1.52 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006137/1.029, allocations: 2.436 MB / 0.9054 GB, free: 1.473 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002316/1.031, allocations: 1.018 MB / 0.9064 GB, free: 1.457 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0002269/1.031, allocations: 99.84 kB / 0.9065 GB, free: 1.457 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003255/1.034, allocations: 1.587 MB / 0.9081 GB, free: 1.441 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0004321/1.035, allocations: 433.6 kB / 0.9085 GB, free: 1.438 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0009146/1.036, allocations: 0.6766 MB / 0.9091 GB, free: 1.438 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.002994/1.039, allocations: 2.094 MB / 0.9112 GB, free: 1.199 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 4.628e-06/1.039, allocations: 0.875 kB / 0.9112 GB, free: 1.199 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.373e-06/1.039, allocations: 0 / 0.9112 GB, free: 1.199 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 1.5e-05/1.039, allocations: 0.9375 kB / 0.9112 GB, free: 1.199 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.002205/1.041, allocations: 1.706 MB / 0.9128 GB, free: 16.26 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 3.722e-05/1.041, allocations: 8.688 kB / 0.9129 GB, free: 16.26 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001325/1.041, allocations: 139.2 kB / 0.913 GB, free: 16.22 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001982/1.043, allocations: 443.7 kB / 0.9134 GB, free: 16.14 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001247/1.045, allocations: 0.9483 MB / 0.9143 GB, free: 15.78 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.005e-05/1.045, allocations: 73.81 kB / 0.9144 GB, free: 15.77 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001057/1.045, allocations: 85.88 kB / 0.9145 GB, free: 15.77 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001724/1.046, allocations: 1.227 MB / 0.9157 GB, free: 15.43 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.437e-05/1.046, allocations: 5.875 kB / 0.9157 GB, free: 15.43 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.813e-05/1.047, allocations: 39.28 kB / 0.9157 GB, free: 15.43 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.766e-05/1.047, allocations: 37.59 kB / 0.9158 GB, free: 15.43 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001654/1.048, allocations: 0.8772 MB / 0.9166 GB, free: 15.42 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.006874/1.055, allocations: 6.035 MB / 0.9225 GB, free: 11.52 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004243/1.056, allocations: 262.4 kB / 0.9228 GB, free: 11.38 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001947/1.056, allocations: 143 kB / 0.9229 GB, free: 11.33 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002008/1.056, allocations: 105.9 kB / 0.923 GB, free: 11.23 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.129e-05/1.056, allocations: 43.95 kB / 0.923 GB, free: 11.19 MB / 0.7012 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007006/1.057, allocations: 117.2 kB / 0.9232 GB, free: 11.15 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=20): time 3.807e-06/1.057, allocations: 3.5 kB / 0.9232 GB, free: 11.15 MB / 0.7012 GB Notification: Performance of matching and sorting (n=20): time 0.001162/1.058, allocations: 481.5 kB / 0.9236 GB, free: 11.05 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000109/1.058, allocations: 183.4 kB / 0.9238 GB, free: 10.83 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001629/1.06, allocations: 1.307 MB / 0.9251 GB, free: 10.66 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 3.584e-05/1.06, allocations: 33.52 kB / 0.9251 GB, free: 10.62 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004265/1.06, allocations: 0.6317 MB / 0.9257 GB, free: 10.36 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 6.535e-05/1.06, allocations: 83.25 kB / 0.9258 GB, free: 10.32 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001968/1.06, allocations: 140.8 kB / 0.9259 GB, free: 10.29 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001373/1.061, allocations: 328.1 kB / 0.9262 GB, free: 9.984 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006144/1.061, allocations: 237 kB / 0.9265 GB, free: 9.98 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008761/1.062, allocations: 0.56 MB / 0.927 GB, free: 9.594 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001091/1.063, allocations: 0.6819 MB / 0.9277 GB, free: 9.211 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.142e-06/1.063, allocations: 6.844 kB / 0.9277 GB, free: 9.207 MB / 0.7012 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001714/1.065, allocations: 0.8696 MB / 0.9285 GB, free: 9.09 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/1.065, allocations: 8.719 kB / 0.9286 GB, free: 9.09 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.234e-05/1.065, allocations: 10.78 kB / 0.9286 GB, free: 9.09 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.3e-05/1.065, allocations: 15.91 kB / 0.9286 GB, free: 9.09 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006401/1.066, allocations: 164.3 kB / 0.9287 GB, free: 9.09 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.671e-05/1.066, allocations: 24.73 kB / 0.9288 GB, free: 9.086 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001184/1.067, allocations: 127.9 kB / 0.9289 GB, free: 9.082 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.64e-05/1.067, allocations: 41.47 kB / 0.9289 GB, free: 9.078 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.0003904/1.067, allocations: 297.4 kB / 0.9292 GB, free: 8.957 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000232/1.068, allocations: 136.8 kB / 0.9293 GB, free: 8.879 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004305/1.068, allocations: 280 kB / 0.9296 GB, free: 8.832 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.809e-06/1.068, allocations: 3.406 kB / 0.9296 GB, free: 8.832 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/1.068, allocations: 6.125 kB / 0.9296 GB, free: 8.828 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.15e-06/1.068, allocations: 4.578 kB / 0.9296 GB, free: 8.828 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001928/1.07, allocations: 1.679 MB / 0.9313 GB, free: 8.039 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.576e-06/1.07, allocations: 2.75 kB / 0.9313 GB, free: 8.039 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001956/1.07, allocations: 38.91 kB / 0.9313 GB, free: 8.039 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.26e-06/1.07, allocations: 3.219 kB / 0.9313 GB, free: 8.039 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.144e-05/1.07, allocations: 12.34 kB / 0.9313 GB, free: 8.035 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.138e-06/1.07, allocations: 5.719 kB / 0.9313 GB, free: 8.035 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/1.07, allocations: 9.094 kB / 0.9313 GB, free: 8.031 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004921/1.071, allocations: 494.3 kB / 0.9318 GB, free: 7.73 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003359/1.071, allocations: 247.6 kB / 0.932 GB, free: 7.566 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001434/1.071, allocations: 15.97 kB / 0.932 GB, free: 7.559 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006876/1.072, allocations: 47.12 kB / 0.9321 GB, free: 7.555 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.436e-05/1.072, allocations: 26.12 kB / 0.9321 GB, free: 7.551 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.85e-05/1.072, allocations: 8.438 kB / 0.9321 GB, free: 7.551 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.001262/1.073, allocations: 0.9131 MB / 0.933 GB, free: 7.438 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.6e-07/1.073, allocations: 0 / 0.933 GB, free: 7.438 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.0008533/1.074, allocations: 278.8 kB / 0.9333 GB, free: 7.41 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.001168/1.075, allocations: 1.143 MB / 0.9344 GB, free: 6.559 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.0009627/1.076, allocations: 458.4 kB / 0.9348 GB, free: 6.547 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 3.446e-06/1.076, allocations: 0 / 0.9348 GB, free: 6.547 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0001278/1.076, allocations: 106.1 kB / 0.9349 GB, free: 6.543 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002409/1.079, allocations: 0.5789 MB / 0.9355 GB, free: 6.441 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01107/1.09, allocations: 8.147 MB / 0.9435 GB, free: 3.422 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006628/1.091, allocations: 1.113 MB / 0.9445 GB, free: 2.707 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.0008545/1.092, allocations: 240.1 kB / 0.9448 GB, free: 2.652 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004012/1.092, allocations: 412.7 kB / 0.9452 GB, free: 2.645 MB / 0.7012 GB Notification: Performance of SimCode: time 8.31e-07/1.092, allocations: 2.844 kB / 0.9452 GB, free: 2.645 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0558/1.148, allocations: 27.55 MB / 0.9721 GB, free: 15.79 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.415/10.56, allocations: 17.98 kB / 0.9721 GB, free: 15.78 MB / 0.7325 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)