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.004534/0.004535, allocations: 100.1 kB / 15.73 MB, free: 6.008 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.001096/0.001096, allocations: 193.8 kB / 16.67 MB, free: 5.93 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.28/1.28, allocations: 222.9 MB / 240.4 MB, free: 15.11 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.764/0.764, allocations: 135.1 MB / 425.7 MB, free: 4.102 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00116/0.00116, allocations: 68.2 kB / 0.5851 GB, free: 22.03 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1288/0.13, allocations: 80.93 MB / 0.6642 GB, free: 6.273 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow): time 0.495/0.625, allocations: 221.1 MB / 0.8801 GB, free: 2.332 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.008584/0.6337, allocations: 5.696 MB / 0.8856 GB, free: 12.62 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00105/0.6347, allocations: 43.75 kB / 0.8857 GB, free: 12.58 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.001362/0.6361, allocations: 0.5825 MB / 0.8862 GB, free: 11.99 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.003938/0.6401, allocations: 1.835 MB / 0.888 GB, free: 10.15 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.002965/0.6431, allocations: 1.187 MB / 0.8892 GB, free: 8.969 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.003674/0.6468, allocations: 2.937 MB / 0.8921 GB, free: 6.02 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001285/0.6481, allocations: 1.027 MB / 0.8931 GB, free: 4.977 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001641/0.6497, allocations: 1.055 MB / 0.8941 GB, free: 3.918 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001607/0.6513, allocations: 0.9384 MB / 0.895 GB, free: 2.992 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0001492/0.6515, allocations: 112 kB / 0.8951 GB, free: 2.883 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00255/0.654, allocations: 1.434 MB / 0.8965 GB, free: 1.445 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0004135/0.6545, allocations: 458.8 kB / 0.897 GB, free: 0.9961 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0006264/0.6551, allocations: 0.6533 MB / 0.8976 GB, free: 348 kB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.002443/0.6576, allocations: 2.131 MB / 0.8997 GB, free: 14.2 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.6576, allocations: 4 kB / 0.8997 GB, free: 14.2 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.203e-06/0.6576, allocations: 0 / 0.8997 GB, free: 14.2 MB / 0.67 GB Notification: Performance of Transformations before backend: time 1.27e-05/0.6576, allocations: 0 / 0.8997 GB, free: 14.2 MB / 0.67 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.002163/0.6598, allocations: 1.503 MB / 0.9012 GB, free: 12.64 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 3.865e-05/0.6598, allocations: 17.11 kB / 0.9012 GB, free: 12.63 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001573/0.66, allocations: 135.3 kB / 0.9013 GB, free: 12.49 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001867/0.6618, allocations: 318.2 kB / 0.9016 GB, free: 12.18 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001311/0.6632, allocations: 0.8631 MB / 0.9024 GB, free: 11.27 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.615e-05/0.6632, allocations: 62 kB / 0.9025 GB, free: 11.21 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000121/0.6634, allocations: 91.91 kB / 0.9026 GB, free: 11.12 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001427/0.6648, allocations: 0.9053 MB / 0.9035 GB, free: 10.2 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.279e-05/0.6648, allocations: 0 / 0.9035 GB, free: 10.2 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.464e-05/0.6649, allocations: 39.94 kB / 0.9035 GB, free: 10.16 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.613e-05/0.665, allocations: 41.98 kB / 0.9036 GB, free: 10.12 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001344/0.6663, allocations: 0.8237 MB / 0.9044 GB, free: 9.301 MB / 0.67 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.004852/0.6712, allocations: 3.509 MB / 0.9078 GB, free: 5.574 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007611/0.6719, allocations: 0.4984 MB / 0.9083 GB, free: 5.07 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004556/0.6724, allocations: 298 kB / 0.9086 GB, free: 4.777 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001647/0.6726, allocations: 97.53 kB / 0.9086 GB, free: 4.66 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.719e-05/0.6726, allocations: 43 kB / 0.9087 GB, free: 4.609 MB / 0.67 GB Notification: Performance of pre-optimization done (n=47): time 1.643e-06/0.6726, allocations: 4 kB / 0.9087 GB, free: 4.605 MB / 0.67 GB Notification: Performance of matching and sorting (n=49): time 0.003235/0.6759, allocations: 1.868 MB / 0.9105 GB, free: 2.641 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.328e-05/0.6759, allocations: 55.84 kB / 0.9106 GB, free: 2.574 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008915/0.6768, allocations: 0.8097 MB / 0.9114 GB, free: 1.754 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 4.983e-05/0.6769, allocations: 41.64 kB / 0.9114 GB, free: 1.707 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003068/0.6772, allocations: 479.3 kB / 0.9119 GB, free: 1.23 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001335/0.6773, allocations: 177.5 kB / 0.912 GB, free: 1.055 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001704/0.6775, allocations: 118.2 kB / 0.9121 GB, free: 0.9336 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001019/0.6776, allocations: 330 kB / 0.9125 GB, free: 0.6055 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004134/0.678, allocations: 245.2 kB / 0.9127 GB, free: 372 kB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005038/0.6785, allocations: 380.7 kB / 0.9131 GB, free: 15.95 MB / 0.6856 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.003491/0.6821, allocations: 1.524 MB / 0.9145 GB, free: 14.36 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.496e-06/0.6821, allocations: 8 kB / 0.9145 GB, free: 14.35 MB / 0.6856 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001215/0.6833, allocations: 0.7887 MB / 0.9153 GB, free: 13.55 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.686e-05/0.6833, allocations: 13.88 kB / 0.9153 GB, free: 13.54 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.6833, allocations: 3.938 kB / 0.9153 GB, free: 13.53 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000161/0.6835, allocations: 73.7 kB / 0.9154 GB, free: 13.45 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006638/0.6842, allocations: 147.8 kB / 0.9155 GB, free: 13.31 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002246/0.6864, allocations: 3.121 MB / 0.9186 GB, free: 9.91 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007313/0.6872, allocations: 30.78 kB / 0.9186 GB, free: 9.883 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.74e-05/0.6872, allocations: 20 kB / 0.9186 GB, free: 9.863 MB / 0.6856 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.0003682/0.6876, allocations: 318.8 kB / 0.9189 GB, free: 9.543 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001407/0.6878, allocations: 90.97 kB / 0.919 GB, free: 9.453 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001894/0.6879, allocations: 100.7 kB / 0.9191 GB, free: 9.352 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/0.688, allocations: 4 kB / 0.9191 GB, free: 9.348 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.105e-06/0.688, allocations: 0 / 0.9191 GB, free: 9.348 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009707/0.6889, allocations: 0.8349 MB / 0.9199 GB, free: 8.426 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002606/0.6916, allocations: 1.794 MB / 0.9217 GB, free: 6.531 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.959e-06/0.6916, allocations: 4 kB / 0.9217 GB, free: 6.527 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006237/0.6922, allocations: 136.2 kB / 0.9218 GB, free: 6.395 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.947e-05/0.6923, allocations: 32.84 kB / 0.9219 GB, free: 6.359 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.54e-05/0.6923, allocations: 19.98 kB / 0.9219 GB, free: 6.34 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001112/0.6935, allocations: 1.594 MB / 0.9234 GB, free: 4.605 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.537e-06/0.6935, allocations: 4 kB / 0.9234 GB, free: 4.602 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00145/0.6949, allocations: 1.085 MB / 0.9245 GB, free: 3.453 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003584/0.6953, allocations: 240 kB / 0.9247 GB, free: 3.199 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001079/0.6954, allocations: 27.91 kB / 0.9248 GB, free: 3.172 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000666/0.6961, allocations: 27.98 kB / 0.9248 GB, free: 3.145 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.535e-05/0.6962, allocations: 43.95 kB / 0.9248 GB, free: 3.102 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.696e-05/0.6963, allocations: 31.98 kB / 0.9249 GB, free: 3.07 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.000621/0.6969, allocations: 0.5614 MB / 0.9254 GB, free: 2.512 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6969, allocations: 0 / 0.9254 GB, free: 2.512 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0007518/0.6977, allocations: 280 kB / 0.9257 GB, free: 2.238 MB / 0.6856 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.001975/0.6996, allocations: 1.731 MB / 0.9274 GB, free: 452 kB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.001209/0.7009, allocations: 0.8121 MB / 0.9282 GB, free: 15.6 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.7009, allocations: 0 / 0.9282 GB, free: 15.6 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0005455/0.7014, allocations: 411.9 kB / 0.9285 GB, free: 15.19 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002475/0.7039, allocations: 0.596 MB / 0.9291 GB, free: 14.61 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008513/0.7124, allocations: 6.985 MB / 0.936 GB, free: 7.324 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000597/0.7131, allocations: 1.087 MB / 0.937 GB, free: 6.207 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.0006641/0.7137, allocations: 219.7 kB / 0.9372 GB, free: 5.988 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004279/0.7142, allocations: 347.3 kB / 0.9376 GB, free: 5.648 MB / 0.7012 GB Notification: Performance of SimCode: time 3.31e-07/0.7142, allocations: 0 / 0.9376 GB, free: 5.648 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08669/0.8009, allocations: 27.45 MB / 0.9644 GB, free: 10.57 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.07/13.87, allocations: 3.75 kB / 0.9644 GB, free: 10.57 MB / 0.7325 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlow_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlow.fmu > IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe 2>&1)