Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/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.MixingVolumeMoistureReverseFlow,fileNamePrefix="IDEAS_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow,fileNamePrefix="IDEAS_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.001181/0.001181, allocations: 108 kB / 15.61 MB, free: 148 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.001174/0.001174, allocations: 197.6 kB / 16.53 MB, free: 6.699 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.214/1.214, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7166/0.7166, allocations: 132.2 MB / 422.6 MB, free: 1.777 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00112/0.00112, allocations: 55.03 kB / 0.5019 GB, free: 3.723 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3838/0.385, allocations: 80.21 MB / 0.5802 GB, free: 4.535 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow): time 0.2217/0.6067, allocations: 221.1 MB / 0.7961 GB, free: 3.613 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.008906/0.6157, allocations: 5.72 MB / 0.8016 GB, free: 13.88 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00113/0.6168, allocations: 47.75 kB / 0.8017 GB, free: 13.83 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.001511/0.6184, allocations: 0.5825 MB / 0.8023 GB, free: 13.25 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.004041/0.6224, allocations: 1.832 MB / 0.8041 GB, free: 11.41 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.002698/0.6251, allocations: 1.179 MB / 0.8052 GB, free: 10.24 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.00334/0.6285, allocations: 2.933 MB / 0.8081 GB, free: 7.293 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001428/0.6299, allocations: 1.015 MB / 0.8091 GB, free: 6.258 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001719/0.6317, allocations: 1.062 MB / 0.8101 GB, free: 5.191 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002022/0.6337, allocations: 0.9302 MB / 0.811 GB, free: 4.27 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0002621/0.634, allocations: 112 kB / 0.8111 GB, free: 4.16 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002696/0.6367, allocations: 1.426 MB / 0.8125 GB, free: 2.73 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0005516/0.6372, allocations: 462.8 kB / 0.8129 GB, free: 2.277 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0009776/0.6382, allocations: 0.6495 MB / 0.8136 GB, free: 1.625 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.2984/0.9367, allocations: 2.113 MB / 0.8156 GB, free: 39.41 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 8.496e-06/0.9367, allocations: 0.5 kB / 0.8156 GB, free: 39.41 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.703e-06/0.9367, allocations: 0 / 0.8156 GB, free: 39.41 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 5.102e-05/0.9368, allocations: 0.5 kB / 0.8156 GB, free: 39.41 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.002633/0.9394, allocations: 1.505 MB / 0.8171 GB, free: 38.78 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.89e-05/0.9395, allocations: 10.06 kB / 0.8171 GB, free: 38.78 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001787/0.9396, allocations: 144.6 kB / 0.8173 GB, free: 38.74 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00206/0.9417, allocations: 315.2 kB / 0.8176 GB, free: 38.68 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001337/0.9431, allocations: 0.8161 MB / 0.8184 GB, free: 38.36 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.451e-05/0.9431, allocations: 64.31 kB / 0.8184 GB, free: 38.36 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001439/0.9433, allocations: 86.64 kB / 0.8185 GB, free: 38.36 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001747/0.945, allocations: 0.9186 MB / 0.8194 GB, free: 38.3 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.608e-05/0.9451, allocations: 2.641 kB / 0.8194 GB, free: 38.3 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001007/0.9452, allocations: 34.91 kB / 0.8194 GB, free: 38.3 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.294e-05/0.9452, allocations: 39.2 kB / 0.8195 GB, free: 38.3 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001516/0.9468, allocations: 0.8305 MB / 0.8203 GB, free: 38.29 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.004899/0.9517, allocations: 3.546 MB / 0.8237 GB, free: 36.99 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007576/0.9524, allocations: 0.498 MB / 0.8242 GB, free: 36.97 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004393/0.9529, allocations: 295.7 kB / 0.8245 GB, free: 36.96 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001681/0.9531, allocations: 107.1 kB / 0.8246 GB, free: 36.87 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.226e-05/0.9531, allocations: 40.66 kB / 0.8247 GB, free: 36.83 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=47): time 2.094e-06/0.9531, allocations: 2.453 kB / 0.8247 GB, free: 36.83 MB / 0.6387 GB Notification: Performance of matching and sorting (n=49): time 0.003464/0.9566, allocations: 1.873 MB / 0.8265 GB, free: 36.16 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.764e-05/0.9566, allocations: 57.06 kB / 0.8265 GB, free: 36.1 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009867/0.9576, allocations: 0.8111 MB / 0.8273 GB, free: 35.96 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 5.101e-05/0.9577, allocations: 41.52 kB / 0.8274 GB, free: 35.93 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002641/0.9579, allocations: 471.8 kB / 0.8278 GB, free: 35.71 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001274/0.9581, allocations: 177.2 kB / 0.828 GB, free: 35.61 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001897/0.9583, allocations: 118.5 kB / 0.8281 GB, free: 35.58 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 4.847e-05/0.9583, allocations: 331.3 kB / 0.8284 GB, free: 35.28 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000415/0.9588, allocations: 246.6 kB / 0.8287 GB, free: 35.28 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005055/0.9593, allocations: 381.2 kB / 0.829 GB, free: 35.15 MB / 0.6387 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.003585/0.9629, allocations: 1.533 MB / 0.8305 GB, free: 34.93 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.24e-06/0.9629, allocations: 2.094 kB / 0.8305 GB, free: 34.93 MB / 0.6387 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001357/0.9642, allocations: 0.7913 MB / 0.8313 GB, free: 34.83 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.944e-05/0.9643, allocations: 6.781 kB / 0.8313 GB, free: 34.83 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.307e-06/0.9643, allocations: 4.312 kB / 0.8313 GB, free: 34.83 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001651/0.9645, allocations: 68.53 kB / 0.8314 GB, free: 34.81 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006959/0.9652, allocations: 152.9 kB / 0.8315 GB, free: 34.81 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001812/0.967, allocations: 3.123 MB / 0.8346 GB, free: 32.13 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008403/0.9678, allocations: 30.12 kB / 0.8346 GB, free: 32.13 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.237e-05/0.9679, allocations: 24.81 kB / 0.8346 GB, free: 32.13 MB / 0.6387 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.0004283/0.9683, allocations: 303.5 kB / 0.8349 GB, free: 32.01 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000159/0.9685, allocations: 93.78 kB / 0.835 GB, free: 31.96 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001666/0.9687, allocations: 101.8 kB / 0.8351 GB, free: 31.95 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.001e-06/0.9687, allocations: 5.219 kB / 0.8351 GB, free: 31.95 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.504e-06/0.9687, allocations: 6 kB / 0.8351 GB, free: 31.95 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008988/0.9696, allocations: 0.8344 MB / 0.8359 GB, free: 31.5 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002298/0.9719, allocations: 1.788 MB / 0.8377 GB, free: 31.08 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.599e-06/0.9719, allocations: 6.219 kB / 0.8377 GB, free: 31.08 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005891/0.9725, allocations: 131.9 kB / 0.8378 GB, free: 31.08 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.372e-05/0.9726, allocations: 39.09 kB / 0.8378 GB, free: 31.07 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.243e-05/0.9727, allocations: 17.33 kB / 0.8378 GB, free: 31.07 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008146/0.9735, allocations: 1.606 MB / 0.8394 GB, free: 29.72 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.9735, allocations: 3.281 kB / 0.8394 GB, free: 29.72 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001276/0.9748, allocations: 1.097 MB / 0.8405 GB, free: 29.41 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003031/0.9751, allocations: 232.8 kB / 0.8407 GB, free: 29.28 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000118/0.9752, allocations: 13.94 kB / 0.8407 GB, free: 29.28 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006882/0.9759, allocations: 35.61 kB / 0.8408 GB, free: 29.28 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.825e-05/0.976, allocations: 41.88 kB / 0.8408 GB, free: 29.27 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.657e-05/0.9761, allocations: 29.11 kB / 0.8408 GB, free: 29.27 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0005491/0.9766, allocations: 0.564 MB / 0.8414 GB, free: 29.18 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9766, allocations: 0 / 0.8414 GB, free: 29.18 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.000786/0.9774, allocations: 271.9 kB / 0.8416 GB, free: 29.18 MB / 0.6387 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.00169/0.9791, allocations: 1.728 MB / 0.8433 GB, free: 28.34 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001181/0.9803, allocations: 0.8633 MB / 0.8442 GB, free: 28.12 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/0.9803, allocations: 2.781 kB / 0.8442 GB, free: 28.12 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0004608/0.9808, allocations: 411.7 kB / 0.8446 GB, free: 28.01 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00251/0.9833, allocations: 0.606 MB / 0.8452 GB, free: 27.96 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007619/0.991, allocations: 7.324 MB / 0.8523 GB, free: 25.25 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004376/0.9914, allocations: 1.089 MB / 0.8534 GB, free: 24.54 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.000869/0.9923, allocations: 218.3 kB / 0.8536 GB, free: 24.51 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003652/0.9927, allocations: 343 kB / 0.8539 GB, free: 24.51 MB / 0.6387 GB Notification: Performance of SimCode: time 4.41e-07/0.9927, allocations: 0 / 0.8539 GB, free: 24.51 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04915/1.042, allocations: 27.23 MB / 0.8805 GB, free: 16.54 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.6/12.64, allocations: 4.656 kB / 0.8805 GB, free: 16.54 MB / 0.6387 GB (rm -f IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe ; mkfifo IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe >> ../files/IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlow_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlow.fmu > IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe 2>&1)