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.000924/0.0009237, allocations: 89.66 kB / 15.36 MB, free: 0.7383 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.005979/0.005979, allocations: 174 kB / 16.27 MB, free: 6.613 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.275/1.275, allocations: 223.2 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.753/0.753, allocations: 132.3 MB / 423.8 MB, free: 1.984 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002933/0.0002934, allocations: 8 kB / 0.5041 GB, free: 3.836 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3423/0.3426, allocations: 81.57 MB / 0.5837 GB, free: 3.91 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow): time 0.201/0.5436, allocations: 215.9 MB / 0.7946 GB, free: 7.664 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.007904/0.5516, allocations: 5.712 MB / 0.8002 GB, free: 1.938 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006159/0.5522, allocations: 39.75 kB / 0.8002 GB, free: 1.898 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.001136/0.5534, allocations: 0.4935 MB / 0.8007 GB, free: 1.402 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.003368/0.5567, allocations: 1.743 MB / 0.8024 GB, free: 15.65 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.002291/0.5591, allocations: 1.084 MB / 0.8035 GB, free: 14.58 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.003599/0.5627, allocations: 4.076 MB / 0.8075 GB, free: 10.49 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009785/0.5637, allocations: 0.8431 MB / 0.8083 GB, free: 9.633 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001153/0.5648, allocations: 0.8827 MB / 0.8091 GB, free: 8.746 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001896/0.5667, allocations: 0.9286 MB / 0.8101 GB, free: 7.824 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.000101/0.5668, allocations: 40 kB / 0.8101 GB, free: 7.785 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002402/0.5692, allocations: 1.621 MB / 0.8117 GB, free: 6.16 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0003552/0.5696, allocations: 390.8 kB / 0.812 GB, free: 5.777 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0005379/0.5702, allocations: 0.5926 MB / 0.8126 GB, free: 5.176 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.002112/0.5723, allocations: 2.134 MB / 0.8147 GB, free: 3.035 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 3.025e-06/0.5723, allocations: 3.938 kB / 0.8147 GB, free: 3.031 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.433e-06/0.5723, allocations: 0 / 0.8147 GB, free: 3.031 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.15e-05/0.5723, allocations: 0 / 0.8147 GB, free: 3.031 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.001918/0.5742, allocations: 1.266 MB / 0.8159 GB, free: 1.711 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.741e-05/0.5743, allocations: 16.03 kB / 0.816 GB, free: 1.695 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001653/0.5745, allocations: 143.2 kB / 0.8161 GB, free: 1.547 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001883/0.5763, allocations: 310.3 kB / 0.8164 GB, free: 1.242 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001188/0.5775, allocations: 0.8201 MB / 0.8172 GB, free: 388 kB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.117e-05/0.5776, allocations: 66 kB / 0.8173 GB, free: 324 kB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001355/0.5778, allocations: 84 kB / 0.8173 GB, free: 240 kB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2975/0.8752, allocations: 0.9147 MB / 0.8182 GB, free: 44.16 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.702e-05/0.8753, allocations: 4.781 kB / 0.8182 GB, free: 44.16 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.335e-05/0.8754, allocations: 38.36 kB / 0.8183 GB, free: 44.16 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.761e-05/0.8754, allocations: 33.31 kB / 0.8183 GB, free: 44.16 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001419/0.8768, allocations: 0.8414 MB / 0.8191 GB, free: 44.16 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.004788/0.8816, allocations: 3.544 MB / 0.8226 GB, free: 42.93 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007564/0.8824, allocations: 0.5067 MB / 0.8231 GB, free: 42.9 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004466/0.8829, allocations: 299.4 kB / 0.8234 GB, free: 42.89 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001484/0.883, allocations: 96.83 kB / 0.8235 GB, free: 42.8 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.128e-05/0.8831, allocations: 50.25 kB / 0.8235 GB, free: 42.76 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=47): time 2.124e-06/0.8831, allocations: 3.344 kB / 0.8235 GB, free: 42.76 MB / 0.6387 GB Notification: Performance of matching and sorting (n=49): time 0.003137/0.8862, allocations: 1.906 MB / 0.8254 GB, free: 42.09 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.832e-05/0.8862, allocations: 63.36 kB / 0.8254 GB, free: 42.02 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00087/0.8871, allocations: 0.8089 MB / 0.8262 GB, free: 41.88 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 4.664e-05/0.8872, allocations: 41.33 kB / 0.8263 GB, free: 41.85 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.00023/0.8874, allocations: 475.5 kB / 0.8267 GB, free: 41.64 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001097/0.8875, allocations: 170.3 kB / 0.8269 GB, free: 41.53 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.844e-05/0.8876, allocations: 58.09 kB / 0.8269 GB, free: 41.52 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 4.909e-05/0.8877, allocations: 329.3 kB / 0.8272 GB, free: 41.21 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000405/0.8881, allocations: 253.7 kB / 0.8275 GB, free: 41.21 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004635/0.8885, allocations: 380.8 kB / 0.8279 GB, free: 41.08 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.003354/0.8919, allocations: 1.561 MB / 0.8294 GB, free: 40.84 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.8919, allocations: 0.7812 kB / 0.8294 GB, free: 40.84 MB / 0.6387 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001208/0.8931, allocations: 0.802 MB / 0.8302 GB, free: 40.72 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.762e-05/0.8932, allocations: 6.219 kB / 0.8302 GB, free: 40.72 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.284e-06/0.8932, allocations: 3.188 kB / 0.8302 GB, free: 40.72 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00015/0.8933, allocations: 66.92 kB / 0.8302 GB, free: 40.7 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006531/0.894, allocations: 171.6 kB / 0.8304 GB, free: 40.7 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001628/0.8956, allocations: 2.876 MB / 0.8332 GB, free: 38.2 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007994/0.8964, allocations: 61.19 kB / 0.8333 GB, free: 38.19 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.822e-05/0.8965, allocations: 20.94 kB / 0.8333 GB, free: 38.19 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 sytem: 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.000353/0.8969, allocations: 313.4 kB / 0.8336 GB, free: 38.06 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001381/0.897, allocations: 93.94 kB / 0.8337 GB, free: 38.02 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001752/0.8972, allocations: 98.77 kB / 0.8338 GB, free: 38 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.771e-06/0.8972, allocations: 7.469 kB / 0.8338 GB, free: 38 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/0.8972, allocations: 1.219 kB / 0.8338 GB, free: 38 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008965/0.8981, allocations: 0.8482 MB / 0.8346 GB, free: 37.55 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002594/0.9007, allocations: 1.802 MB / 0.8364 GB, free: 37.12 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.192e-06/0.9007, allocations: 8.625 kB / 0.8364 GB, free: 37.12 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006328/0.9014, allocations: 145.5 kB / 0.8365 GB, free: 37.12 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.934e-05/0.9015, allocations: 40.39 kB / 0.8365 GB, free: 37.11 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.485e-05/0.9015, allocations: 17.05 kB / 0.8366 GB, free: 37.11 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008371/0.9024, allocations: 1.472 MB / 0.838 GB, free: 35.86 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.112e-06/0.9024, allocations: 7.656 kB / 0.838 GB, free: 35.85 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001495/0.9039, allocations: 1.111 MB / 0.8391 GB, free: 35.55 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000297/0.9042, allocations: 234.4 kB / 0.8393 GB, free: 35.41 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001023/0.9043, allocations: 16.52 kB / 0.8393 GB, free: 35.41 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007489/0.905, allocations: 68.52 kB / 0.8394 GB, free: 35.39 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001016/0.9052, allocations: 40.92 kB / 0.8394 GB, free: 35.39 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.385e-05/0.9052, allocations: 30.88 kB / 0.8395 GB, free: 35.39 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.000685/0.9059, allocations: 0.558 MB / 0.84 GB, free: 35.3 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.7e-07/0.9059, allocations: 2.844 kB / 0.84 GB, free: 35.3 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0008158/0.9068, allocations: 274.9 kB / 0.8403 GB, free: 35.3 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.001661/0.9084, allocations: 1.757 MB / 0.842 GB, free: 34.45 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001047/0.9095, allocations: 0.8101 MB / 0.8428 GB, free: 34.21 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.636e-06/0.9095, allocations: 2.734 kB / 0.8428 GB, free: 34.21 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0004618/0.91, allocations: 415.3 kB / 0.8432 GB, free: 34.1 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002846/0.9128, allocations: 0.5691 MB / 0.8437 GB, free: 34.08 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008246/0.9211, allocations: 7.742 MB / 0.8513 GB, free: 30.89 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004368/0.9215, allocations: 1.086 MB / 0.8524 GB, free: 30.18 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.000787/0.9223, allocations: 223.6 kB / 0.8526 GB, free: 30.12 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003848/0.9227, allocations: 347.5 kB / 0.8529 GB, free: 30.11 MB / 0.6387 GB Notification: Performance of SimCode: time 9.71e-07/0.9227, allocations: 0 / 0.8529 GB, free: 30.11 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1124/1.035, allocations: 25.9 MB / 0.8782 GB, free: 22.72 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002323/1.035, allocations: 283.5 kB / 0.8785 GB, free: 22.34 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.461/3.496, allocations: 6.531 kB / 0.8785 GB, free: 22.34 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)