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.004826/0.004826, allocations: 99.27 kB / 15.73 MB, free: 6.445 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.001312/0.001312, allocations: 194.5 kB / 16.67 MB, free: 6.348 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.376/1.376, allocations: 222.9 MB / 240.4 MB, free: 4.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7747/0.7747, allocations: 132.2 MB / 422.7 MB, free: 1.695 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001952/0.001952, allocations: 71.89 kB / 0.5809 GB, free: 8.047 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3716/0.3735, allocations: 80.2 MB / 0.6592 GB, free: 9.953 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow): time 0.5863/0.9599, allocations: 221.1 MB / 0.8751 GB, free: 16.92 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.007993/0.9679, allocations: 5.716 MB / 0.8807 GB, free: 16.88 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001162/0.9691, allocations: 43.19 kB / 0.8807 GB, free: 16.88 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.00144/0.9705, allocations: 0.578 MB / 0.8813 GB, free: 16.87 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.003889/0.9745, allocations: 1.836 MB / 0.8831 GB, free: 16.8 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.002645/0.9771, allocations: 1.184 MB / 0.8842 GB, free: 16.77 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.003764/0.9809, allocations: 2.939 MB / 0.8871 GB, free: 16.76 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001205/0.9821, allocations: 1.022 MB / 0.8881 GB, free: 16.66 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001595/0.9837, allocations: 1.066 MB / 0.8891 GB, free: 16.66 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00176/0.9855, allocations: 0.9485 MB / 0.8901 GB, free: 16.64 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0001881/0.9857, allocations: 109.1 kB / 0.8902 GB, free: 16.64 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002655/0.9883, allocations: 1.432 MB / 0.8916 GB, free: 16.62 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0004231/0.9888, allocations: 457.1 kB / 0.892 GB, free: 16.62 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.000729/0.9895, allocations: 0.6517 MB / 0.8926 GB, free: 16.62 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.002636/0.9922, allocations: 2.138 MB / 0.8947 GB, free: 16.5 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 3.626e-06/0.9922, allocations: 2.094 kB / 0.8947 GB, free: 16.5 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.283e-06/0.9922, allocations: 0.8438 kB / 0.8947 GB, free: 16.5 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 1.43e-05/0.9922, allocations: 0.875 kB / 0.8947 GB, free: 16.5 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: 215 * Number of variables: 215 Notification: Performance of Generate backend data structure: time 0.00207/0.9943, allocations: 1.54 MB / 0.8962 GB, free: 15.7 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.531e-05/0.9943, allocations: 10.91 kB / 0.8962 GB, free: 15.7 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001482/0.9945, allocations: 140.1 kB / 0.8964 GB, free: 15.66 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001855/0.9963, allocations: 320.4 kB / 0.8967 GB, free: 15.6 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001138/0.9975, allocations: 0.8701 MB / 0.8975 GB, free: 15.27 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.388e-05/0.9976, allocations: 64.97 kB / 0.8976 GB, free: 15.27 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000129/0.9977, allocations: 85.06 kB / 0.8977 GB, free: 15.27 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001459/0.9992, allocations: 0.9105 MB / 0.8986 GB, free: 15.21 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.416e-05/0.9992, allocations: 0 / 0.8986 GB, free: 15.21 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.482e-05/0.9993, allocations: 37.94 kB / 0.8986 GB, free: 15.21 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.032e-05/0.9993, allocations: 35.12 kB / 0.8986 GB, free: 15.21 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001352/1.001, allocations: 0.8334 MB / 0.8994 GB, free: 15.2 MB / 0.6856 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.004384/1.005, allocations: 3.516 MB / 0.9029 GB, free: 13.88 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007494/1.006, allocations: 0.5015 MB / 0.9034 GB, free: 13.85 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00046/1.006, allocations: 299.6 kB / 0.9036 GB, free: 13.84 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00016/1.006, allocations: 98.05 kB / 0.9037 GB, free: 13.75 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.273e-05/1.007, allocations: 49.88 kB / 0.9038 GB, free: 13.71 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=47): time 2.274e-06/1.007, allocations: 0 / 0.9038 GB, free: 13.71 MB / 0.6856 GB Notification: Performance of matching and sorting (n=49): time 0.003282/1.01, allocations: 1.887 MB / 0.9056 GB, free: 13.02 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.108e-05/1.01, allocations: 61.12 kB / 0.9057 GB, free: 12.96 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007459/1.011, allocations: 0.8111 MB / 0.9065 GB, free: 12.82 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 4.242e-05/1.011, allocations: 37.92 kB / 0.9065 GB, free: 12.79 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002299/1.011, allocations: 486.8 kB / 0.907 GB, free: 12.57 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001068/1.011, allocations: 183.3 kB / 0.9072 GB, free: 12.45 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001646/1.011, allocations: 116.5 kB / 0.9073 GB, free: 12.43 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 4.621e-05/1.011, allocations: 325.3 kB / 0.9076 GB, free: 12.13 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003574/1.012, allocations: 247 kB / 0.9078 GB, free: 12.13 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004103/1.012, allocations: 378 kB / 0.9082 GB, free: 12 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.003165/1.015, allocations: 1.534 MB / 0.9097 GB, free: 11.79 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.255e-06/1.015, allocations: 0 / 0.9097 GB, free: 11.79 MB / 0.6856 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.00107/1.016, allocations: 0.7922 MB / 0.9104 GB, free: 11.68 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.503e-05/1.016, allocations: 7.375 kB / 0.9105 GB, free: 11.68 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/1.016, allocations: 10.08 kB / 0.9105 GB, free: 11.67 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001389/1.016, allocations: 77.27 kB / 0.9105 GB, free: 11.65 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006066/1.017, allocations: 145 kB / 0.9107 GB, free: 11.65 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001576/1.019, allocations: 3.123 MB / 0.9137 GB, free: 8.965 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007968/1.019, allocations: 31.95 kB / 0.9138 GB, free: 8.961 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.431e-05/1.02, allocations: 26.42 kB / 0.9138 GB, free: 8.961 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.0003707/1.02, allocations: 306.8 kB / 0.9141 GB, free: 8.844 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001228/1.02, allocations: 95.53 kB / 0.9142 GB, free: 8.797 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001473/1.02, allocations: 101 kB / 0.9143 GB, free: 8.781 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.779e-06/1.02, allocations: 7.406 kB / 0.9143 GB, free: 8.781 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.853e-06/1.02, allocations: 1 kB / 0.9143 GB, free: 8.781 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007837/1.021, allocations: 0.8352 MB / 0.9151 GB, free: 8.324 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002255/1.023, allocations: 1.784 MB / 0.9168 GB, free: 7.906 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.259e-06/1.023, allocations: 5.156 kB / 0.9168 GB, free: 7.906 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005592/1.024, allocations: 134.5 kB / 0.917 GB, free: 7.906 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.35e-05/1.024, allocations: 39.89 kB / 0.917 GB, free: 7.898 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.082e-05/1.024, allocations: 12.91 kB / 0.917 GB, free: 7.898 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008167/1.025, allocations: 1.603 MB / 0.9186 GB, free: 6.543 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.336e-06/1.025, allocations: 5.5 kB / 0.9186 GB, free: 6.543 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001245/1.026, allocations: 1.107 MB / 0.9197 GB, free: 6.23 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002661/1.026, allocations: 240.8 kB / 0.9199 GB, free: 6.086 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001052/1.026, allocations: 12.08 kB / 0.9199 GB, free: 6.086 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006483/1.027, allocations: 39.27 kB / 0.9199 GB, free: 6.086 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.878e-05/1.027, allocations: 39.81 kB / 0.92 GB, free: 6.082 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.775e-05/1.027, allocations: 32.56 kB / 0.92 GB, free: 6.082 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.000568/1.028, allocations: 0.5588 MB / 0.9206 GB, free: 5.988 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.1e-07/1.028, allocations: 3.25 kB / 0.9206 GB, free: 5.988 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0007705/1.029, allocations: 272.7 kB / 0.9208 GB, free: 5.988 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.001716/1.03, allocations: 1.742 MB / 0.9225 GB, free: 5.141 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.001124/1.031, allocations: 0.8137 MB / 0.9233 GB, free: 4.91 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/1.031, allocations: 1.062 kB / 0.9233 GB, free: 4.91 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0004551/1.032, allocations: 409.8 kB / 0.9237 GB, free: 4.801 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002341/1.034, allocations: 0.5972 MB / 0.9243 GB, free: 4.742 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007366/1.042, allocations: 7.02 MB / 0.9311 GB, free: 2.363 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004384/1.042, allocations: 1.092 MB / 0.9322 GB, free: 1.648 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0007062/1.043, allocations: 216.7 kB / 0.9324 GB, free: 1.594 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000364/1.043, allocations: 350.7 kB / 0.9328 GB, free: 1.582 MB / 0.6856 GB Notification: Performance of SimCode: time 3e-07/1.043, allocations: 0 / 0.9328 GB, free: 1.582 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0613/1.105, allocations: 27.47 MB / 0.9596 GB, free: 15.94 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.1/14.21, allocations: 12.59 kB / 0.9596 GB, free: 15.93 MB / 0.7169 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)