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.01401/0.01401, allocations: 103.3 kB / 15.73 MB, free: 6.039 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.002761/0.002761, allocations: 187.8 kB / 16.67 MB, free: 5.957 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.144/2.144, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 1.3/1.3, allocations: 132.2 MB / 422.7 MB, free: 6.59 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002084/0.002084, allocations: 63.66 kB / 0.5809 GB, free: 24.22 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2358/0.2379, allocations: 80.21 MB / 0.6592 GB, free: 10.86 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow): time 1.136/1.374, allocations: 221.1 MB / 0.8751 GB, free: 9.133 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.01574/1.389, allocations: 5.704 MB / 0.8807 GB, free: 3.41 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00265/1.392, allocations: 39.75 kB / 0.8807 GB, free: 3.371 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.003031/1.395, allocations: 0.5824 MB / 0.8813 GB, free: 2.785 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.009228/1.405, allocations: 1.843 MB / 0.8831 GB, free: 0.9336 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.005604/1.41, allocations: 1.183 MB / 0.8842 GB, free: 15.76 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.006907/1.417, allocations: 2.939 MB / 0.8871 GB, free: 12.82 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002852/1.42, allocations: 1.024 MB / 0.8881 GB, free: 11.78 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003775/1.424, allocations: 1.078 MB / 0.8891 GB, free: 10.7 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004208/1.428, allocations: 0.9368 MB / 0.8901 GB, free: 9.77 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.000614/1.429, allocations: 112 kB / 0.8902 GB, free: 9.66 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00551/1.434, allocations: 1.426 MB / 0.8916 GB, free: 8.23 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.001202/1.435, allocations: 458.8 kB / 0.892 GB, free: 7.781 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.002289/1.438, allocations: 0.6533 MB / 0.8926 GB, free: 7.125 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.007287/1.445, allocations: 2.135 MB / 0.8947 GB, free: 4.984 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 8.826e-06/1.445, allocations: 0 / 0.8947 GB, free: 4.984 MB / 0.6544 GB Notification: Performance of FrontEnd: time 3.006e-06/1.445, allocations: 0 / 0.8947 GB, free: 4.984 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 9.592e-05/1.445, allocations: 0 / 0.8947 GB, free: 4.984 MB / 0.6544 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.006477/1.452, allocations: 1.507 MB / 0.8962 GB, free: 3.426 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 7.759e-05/1.452, allocations: 12.03 kB / 0.8962 GB, free: 3.414 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005566/1.452, allocations: 143.3 kB / 0.8963 GB, free: 3.266 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003877/1.456, allocations: 322.3 kB / 0.8967 GB, free: 2.949 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003219/1.46, allocations: 0.8591 MB / 0.8975 GB, free: 2.047 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001103/1.46, allocations: 62 kB / 0.8975 GB, free: 1.984 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003226/1.46, allocations: 88 kB / 0.8976 GB, free: 1.898 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002969/1.463, allocations: 0.9053 MB / 0.8985 GB, free: 0.9844 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.582e-05/1.463, allocations: 0 / 0.8985 GB, free: 0.9844 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001568/1.463, allocations: 39.94 kB / 0.8986 GB, free: 0.9453 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.33e-05/1.463, allocations: 38 kB / 0.8986 GB, free: 0.9102 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002465/1.466, allocations: 0.8353 MB / 0.8994 GB, free: 76 kB / 0.6544 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.01046/1.476, allocations: 3.501 MB / 0.9028 GB, free: 12.35 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001324/1.478, allocations: 0.4974 MB / 0.9033 GB, free: 11.85 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009846/1.479, allocations: 306 kB / 0.9036 GB, free: 11.55 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002977/1.479, allocations: 101.5 kB / 0.9037 GB, free: 11.43 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.927e-05/1.479, allocations: 42.94 kB / 0.9037 GB, free: 11.38 MB / 0.67 GB Notification: Performance of pre-optimization done (n=47): time 5.22e-06/1.479, allocations: 0 / 0.9037 GB, free: 11.38 MB / 0.67 GB Notification: Performance of matching and sorting (n=49): time 0.006444/1.486, allocations: 1.872 MB / 0.9056 GB, free: 9.406 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.125e-05/1.486, allocations: 59.84 kB / 0.9056 GB, free: 9.336 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001756/1.487, allocations: 0.8058 MB / 0.9064 GB, free: 8.52 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 9.201e-05/1.488, allocations: 41.64 kB / 0.9065 GB, free: 8.473 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006574/1.488, allocations: 479.3 kB / 0.9069 GB, free: 7.996 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003019/1.489, allocations: 173.5 kB / 0.9071 GB, free: 7.824 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003461/1.489, allocations: 126.2 kB / 0.9072 GB, free: 7.695 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0002602/1.489, allocations: 326 kB / 0.9075 GB, free: 7.371 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000931/1.49, allocations: 249.2 kB / 0.9077 GB, free: 7.129 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000948/1.491, allocations: 380.7 kB / 0.9081 GB, free: 6.707 MB / 0.67 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.006222/1.497, allocations: 1.524 MB / 0.9096 GB, free: 5.121 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.075e-06/1.497, allocations: 4 kB / 0.9096 GB, free: 5.117 MB / 0.67 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.002435/1.5, allocations: 0.7883 MB / 0.9104 GB, free: 4.312 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 3.662e-05/1.5, allocations: 12.34 kB / 0.9104 GB, free: 4.301 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.572e-05/1.5, allocations: 4 kB / 0.9104 GB, free: 4.297 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000293/1.5, allocations: 73.67 kB / 0.9105 GB, free: 4.219 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001141/1.501, allocations: 143.8 kB / 0.9106 GB, free: 4.078 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004461/1.506, allocations: 3.127 MB / 0.9136 GB, free: 0.6719 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00146/1.507, allocations: 23.98 kB / 0.9137 GB, free: 0.6484 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001083/1.507, allocations: 20 kB / 0.9137 GB, free: 0.6289 MB / 0.67 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.0009807/1.508, allocations: 321.5 kB / 0.914 GB, free: 312 kB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004049/1.509, allocations: 90.97 kB / 0.9141 GB, free: 220 kB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000392/1.509, allocations: 100.7 kB / 0.9142 GB, free: 120 kB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.255e-06/1.509, allocations: 4 kB / 0.9142 GB, free: 116 kB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.444e-06/1.509, allocations: 0 / 0.9142 GB, free: 116 kB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00174/1.511, allocations: 0.8271 MB / 0.915 GB, free: 15.2 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005507/1.517, allocations: 1.799 MB / 0.9167 GB, free: 13.3 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-05/1.517, allocations: 4 kB / 0.9168 GB, free: 13.3 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00114/1.518, allocations: 136.2 kB / 0.9169 GB, free: 13.16 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002094/1.518, allocations: 32.84 kB / 0.9169 GB, free: 13.13 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.618e-05/1.518, allocations: 19.98 kB / 0.9169 GB, free: 13.11 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002747/1.521, allocations: 1.598 MB / 0.9185 GB, free: 11.38 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.158e-05/1.521, allocations: 4 kB / 0.9185 GB, free: 11.37 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003279/1.524, allocations: 1.089 MB / 0.9196 GB, free: 10.22 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000755/1.525, allocations: 235.9 kB / 0.9198 GB, free: 9.973 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002737/1.525, allocations: 19.92 kB / 0.9198 GB, free: 9.953 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001272/1.527, allocations: 33.55 kB / 0.9198 GB, free: 9.922 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001741/1.527, allocations: 47.95 kB / 0.9199 GB, free: 9.875 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001263/1.527, allocations: 27.98 kB / 0.9199 GB, free: 9.848 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.001458/1.528, allocations: 0.5692 MB / 0.9205 GB, free: 9.281 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.8e-07/1.528, allocations: 0 / 0.9205 GB, free: 9.281 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001764/1.53, allocations: 276 kB / 0.9207 GB, free: 9.012 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.003833/1.534, allocations: 1.736 MB / 0.9224 GB, free: 7.219 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.002374/1.536, allocations: 0.8121 MB / 0.9232 GB, free: 6.383 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 8.206e-06/1.536, allocations: 0 / 0.9232 GB, free: 6.383 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0009324/1.537, allocations: 407.8 kB / 0.9236 GB, free: 5.973 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004347/1.542, allocations: 0.5931 MB / 0.9242 GB, free: 5.406 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01652/1.558, allocations: 7 MB / 0.931 GB, free: 14.11 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001147/1.56, allocations: 1.088 MB / 0.9321 GB, free: 12.99 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.00143/1.561, allocations: 219.7 kB / 0.9323 GB, free: 12.77 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000745/1.562, allocations: 343.3 kB / 0.9326 GB, free: 12.43 MB / 0.7012 GB Notification: Performance of SimCode: time 2.635e-06/1.562, allocations: 0 / 0.9326 GB, free: 12.43 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1034/1.665, allocations: 27.88 MB / 0.9598 GB, free: 0.918 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.81/22.47, allocations: 10.03 kB / 0.9599 GB, free: 0.9102 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)