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.001066/0.001066, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001084/0.001084, allocations: 192.7 kB / 16.13 MB, free: 6.707 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.274/1.274, allocations: 222.9 MB / 239.8 MB, free: 4.629 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7229/0.7229, allocations: 132.2 MB / 422.1 MB, free: 2.035 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00116/0.00116, allocations: 59.66 kB / 0.5012 GB, free: 9.148 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.133/0.1342, allocations: 80.2 MB / 0.5795 GB, free: 9.176 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow): time 0.4393/0.5735, allocations: 218.8 MB / 0.7932 GB, free: 8.414 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.009454/0.583, allocations: 5.772 MB / 0.7988 GB, free: 2.629 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001369/0.5844, allocations: 35.75 kB / 0.7989 GB, free: 2.594 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001632/0.5861, allocations: 0.5052 MB / 0.7994 GB, free: 2.086 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.004207/0.5903, allocations: 1.732 MB / 0.8011 GB, free: 356 kB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.00274/0.5931, allocations: 1.082 MB / 0.8021 GB, free: 15.28 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.00428/0.5973, allocations: 4.073 MB / 0.8061 GB, free: 11.19 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001364/0.5987, allocations: 0.8724 MB / 0.8069 GB, free: 10.3 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001787/0.6005, allocations: 0.9218 MB / 0.8078 GB, free: 9.379 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002212/0.6027, allocations: 0.953 MB / 0.8088 GB, free: 8.43 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0001434/0.6029, allocations: 56 kB / 0.8088 GB, free: 8.375 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002942/0.6058, allocations: 1.636 MB / 0.8104 GB, free: 6.734 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0004169/0.6063, allocations: 402.8 kB / 0.8108 GB, free: 6.34 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0006696/0.6069, allocations: 0.5948 MB / 0.8114 GB, free: 5.742 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.002444/0.6094, allocations: 2.162 MB / 0.8135 GB, free: 3.574 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 3.586e-06/0.6094, allocations: 0 / 0.8135 GB, free: 3.574 MB / 0.6231 GB Notification: Performance of FrontEnd: time 9.498e-06/0.6094, allocations: 0 / 0.8135 GB, free: 3.574 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.247e-05/0.6094, allocations: 3.938 kB / 0.8135 GB, free: 3.57 MB / 0.6231 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.002319/0.6118, allocations: 1.506 MB / 0.815 GB, free: 2.012 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.757e-05/0.6118, allocations: 12.03 kB / 0.815 GB, free: 2 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000176/0.612, allocations: 143.3 kB / 0.8151 GB, free: 1.852 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001993/0.614, allocations: 318.2 kB / 0.8154 GB, free: 1.539 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001184/0.6152, allocations: 0.8123 MB / 0.8162 GB, free: 0.6836 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.582e-05/0.6153, allocations: 66 kB / 0.8163 GB, free: 0.6211 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001231/0.6154, allocations: 84 kB / 0.8164 GB, free: 0.5391 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001589/0.617, allocations: 0.917 MB / 0.8173 GB, free: 15.61 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.088e-05/0.617, allocations: 0 / 0.8173 GB, free: 15.61 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.889e-05/0.6171, allocations: 47.88 kB / 0.8173 GB, free: 15.57 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.202e-05/0.6172, allocations: 37.98 kB / 0.8173 GB, free: 15.53 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001453/0.6186, allocations: 0.8276 MB / 0.8182 GB, free: 14.7 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.005049/0.6237, allocations: 3.525 MB / 0.8216 GB, free: 10.96 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007771/0.6245, allocations: 0.4988 MB / 0.8221 GB, free: 10.45 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004536/0.6249, allocations: 298.7 kB / 0.8224 GB, free: 10.16 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001828/0.6251, allocations: 109.5 kB / 0.8225 GB, free: 10.03 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.124e-05/0.6252, allocations: 46.98 kB / 0.8225 GB, free: 9.977 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=47): time 2.014e-06/0.6252, allocations: 0 / 0.8225 GB, free: 9.977 MB / 0.6387 GB Notification: Performance of matching and sorting (n=49): time 0.003511/0.6287, allocations: 1.872 MB / 0.8243 GB, free: 8.004 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.489e-05/0.6287, allocations: 59.84 kB / 0.8244 GB, free: 7.934 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009471/0.6297, allocations: 0.8019 MB / 0.8252 GB, free: 7.121 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 5.028e-05/0.6297, allocations: 37.7 kB / 0.8252 GB, free: 7.078 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003308/0.6301, allocations: 479.2 kB / 0.8257 GB, free: 6.605 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.000145/0.6302, allocations: 177.5 kB / 0.8258 GB, free: 6.43 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000183/0.6304, allocations: 118.2 kB / 0.826 GB, free: 6.309 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001185/0.6306, allocations: 326 kB / 0.8263 GB, free: 5.984 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004262/0.631, allocations: 249.2 kB / 0.8265 GB, free: 5.742 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005208/0.6315, allocations: 380.6 kB / 0.8269 GB, free: 5.324 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.003598/0.6351, allocations: 1.525 MB / 0.8284 GB, free: 3.746 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.12e-05/0.6351, allocations: 3.938 kB / 0.8284 GB, free: 3.742 MB / 0.6387 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001286/0.6364, allocations: 0.7963 MB / 0.8291 GB, free: 2.934 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.679e-05/0.6365, allocations: 4 kB / 0.8291 GB, free: 2.93 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.606e-06/0.6365, allocations: 4 kB / 0.8292 GB, free: 2.926 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001556/0.6366, allocations: 65.67 kB / 0.8292 GB, free: 2.855 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006691/0.6373, allocations: 152 kB / 0.8294 GB, free: 2.707 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002296/0.6396, allocations: 2.881 MB / 0.8322 GB, free: 15.56 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008699/0.6405, allocations: 66.77 kB / 0.8322 GB, free: 15.5 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.203e-05/0.6406, allocations: 20 kB / 0.8323 GB, free: 15.48 MB / 0.6544 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.0004445/0.641, allocations: 303.8 kB / 0.8325 GB, free: 15.17 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001503/0.6412, allocations: 98.97 kB / 0.8326 GB, free: 15.07 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001809/0.6414, allocations: 104.7 kB / 0.8327 GB, free: 14.96 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.007e-06/0.6414, allocations: 4 kB / 0.8327 GB, free: 14.96 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.958e-06/0.6414, allocations: 0 / 0.8327 GB, free: 14.96 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001021/0.6424, allocations: 0.8387 MB / 0.8336 GB, free: 14.04 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002693/0.6451, allocations: 1.794 MB / 0.8353 GB, free: 12.14 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.55e-06/0.6451, allocations: 0 / 0.8353 GB, free: 12.14 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006335/0.6458, allocations: 131.8 kB / 0.8354 GB, free: 12.01 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.012e-05/0.6459, allocations: 37.25 kB / 0.8355 GB, free: 11.97 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.888e-05/0.6459, allocations: 23.98 kB / 0.8355 GB, free: 11.95 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001143/0.6471, allocations: 1.476 MB / 0.8369 GB, free: 10.34 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.799e-06/0.6471, allocations: 11.88 kB / 0.8369 GB, free: 10.33 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001519/0.6486, allocations: 1.092 MB / 0.838 GB, free: 9.18 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003509/0.649, allocations: 244 kB / 0.8382 GB, free: 8.922 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000112/0.6491, allocations: 12 kB / 0.8383 GB, free: 8.91 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007533/0.6499, allocations: 55.95 kB / 0.8383 GB, free: 8.855 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001072/0.65, allocations: 47.81 kB / 0.8384 GB, free: 8.809 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.27e-05/0.65, allocations: 27.98 kB / 0.8384 GB, free: 8.781 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0006758/0.6507, allocations: 0.5576 MB / 0.8389 GB, free: 8.23 MB / 0.6544 GB Notification: Performance of sort global known variables: time 2.2e-07/0.6507, allocations: 0 / 0.8389 GB, free: 8.23 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0008362/0.6516, allocations: 280 kB / 0.8392 GB, free: 7.957 MB / 0.6544 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.002068/0.6537, allocations: 1.725 MB / 0.8409 GB, free: 6.172 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001249/0.6549, allocations: 0.8021 MB / 0.8417 GB, free: 5.352 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 5.009e-06/0.6549, allocations: 4.812 kB / 0.8417 GB, free: 5.348 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0005518/0.6555, allocations: 411.3 kB / 0.8421 GB, free: 4.934 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002586/0.6581, allocations: 0.579 MB / 0.8426 GB, free: 4.367 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009985/0.6681, allocations: 7.625 MB / 0.8501 GB, free: 12.41 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006357/0.6687, allocations: 1.091 MB / 0.8511 GB, free: 11.29 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0008755/0.6696, allocations: 221.1 kB / 0.8514 GB, free: 11.07 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004659/0.6701, allocations: 339.3 kB / 0.8517 GB, free: 10.74 MB / 0.67 GB Notification: Performance of SimCode: time 1.913e-06/0.6701, allocations: 0 / 0.8517 GB, free: 10.74 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2987/0.9688, allocations: 26.14 MB / 0.8772 GB, free: 220.2 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000156/0.969, allocations: 291.3 kB / 0.8775 GB, free: 219.8 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.295/3.264, allocations: 2.109 kB / 0.8775 GB, free: 219.8 MB / 0.67 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)