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.006484/0.006484, allocations: 103.5 kB / 15.74 MB, free: 6.035 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.001426/0.001426, allocations: 194.7 kB / 16.68 MB, free: 5.953 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.297/1.297, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7975/0.7975, allocations: 132.2 MB / 422.7 MB, free: 6.59 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001255/0.001255, allocations: 63.81 kB / 0.5809 GB, free: 23.99 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1483/0.1496, allocations: 80.21 MB / 0.6592 GB, free: 10.73 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow): time 0.5478/0.6974, allocations: 221.1 MB / 0.8751 GB, free: 9.039 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.008376/0.7058, allocations: 5.7 MB / 0.8807 GB, free: 3.32 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001146/0.707, allocations: 43.75 kB / 0.8807 GB, free: 3.277 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.001412/0.7085, allocations: 0.5981 MB / 0.8813 GB, free: 2.676 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.004178/0.7126, allocations: 1.906 MB / 0.8832 GB, free: 0.7617 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.002824/0.7155, allocations: 1.195 MB / 0.8843 GB, free: 15.58 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.003513/0.719, allocations: 2.941 MB / 0.8872 GB, free: 12.63 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001349/0.7204, allocations: 1.027 MB / 0.8882 GB, free: 11.59 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001898/0.7223, allocations: 1.101 MB / 0.8893 GB, free: 10.48 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001882/0.7242, allocations: 0.9416 MB / 0.8902 GB, free: 9.551 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0001724/0.7244, allocations: 108 kB / 0.8903 GB, free: 9.445 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002904/0.7273, allocations: 1.438 MB / 0.8917 GB, free: 8.004 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0004634/0.7277, allocations: 470.8 kB / 0.8922 GB, free: 7.543 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0007502/0.7285, allocations: 0.6456 MB / 0.8928 GB, free: 6.895 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.003043/0.7316, allocations: 2.134 MB / 0.8949 GB, free: 4.754 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.92e-06/0.7316, allocations: 0 / 0.8949 GB, free: 4.754 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.914e-06/0.7316, allocations: 0 / 0.8949 GB, free: 4.754 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.91e-05/0.7316, allocations: 0 / 0.8949 GB, free: 4.754 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.002328/0.7339, allocations: 1.507 MB / 0.8963 GB, free: 3.195 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.469e-05/0.734, allocations: 8.031 kB / 0.8963 GB, free: 3.188 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001617/0.7342, allocations: 147.3 kB / 0.8965 GB, free: 3.035 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001899/0.7361, allocations: 310.3 kB / 0.8968 GB, free: 2.73 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001283/0.7374, allocations: 0.8629 MB / 0.8976 GB, free: 1.824 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.238e-05/0.7374, allocations: 66 kB / 0.8977 GB, free: 1.758 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001313/0.7376, allocations: 87.97 kB / 0.8978 GB, free: 1.672 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001432/0.739, allocations: 0.9149 MB / 0.8987 GB, free: 0.75 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.443e-05/0.739, allocations: 0 / 0.8987 GB, free: 0.75 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.514e-05/0.7391, allocations: 39.94 kB / 0.8987 GB, free: 0.7109 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.727e-05/0.7392, allocations: 34 kB / 0.8987 GB, free: 0.6797 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001348/0.7405, allocations: 0.8316 MB / 0.8995 GB, free: 15.84 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.004792/0.7453, allocations: 3.505 MB / 0.903 GB, free: 12.12 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007673/0.7461, allocations: 0.4935 MB / 0.9035 GB, free: 11.62 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004243/0.7466, allocations: 306 kB / 0.9037 GB, free: 11.32 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001969/0.7468, allocations: 101.5 kB / 0.9038 GB, free: 11.2 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.492e-05/0.7468, allocations: 43 kB / 0.9039 GB, free: 11.15 MB / 0.67 GB Notification: Performance of pre-optimization done (n=47): time 2.865e-06/0.7468, allocations: 0 / 0.9039 GB, free: 11.15 MB / 0.67 GB Notification: Performance of matching and sorting (n=49): time 0.003325/0.7502, allocations: 1.872 MB / 0.9057 GB, free: 9.18 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.241e-05/0.7502, allocations: 63.84 kB / 0.9058 GB, free: 9.105 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008919/0.7511, allocations: 0.8135 MB / 0.9066 GB, free: 8.281 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 4.659e-05/0.7512, allocations: 37.7 kB / 0.9066 GB, free: 8.238 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003115/0.7515, allocations: 483.2 kB / 0.9071 GB, free: 7.758 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001362/0.7516, allocations: 173.5 kB / 0.9072 GB, free: 7.586 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001857/0.7518, allocations: 118.2 kB / 0.9073 GB, free: 7.465 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001099/0.7519, allocations: 330 kB / 0.9077 GB, free: 7.137 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004057/0.7523, allocations: 249.2 kB / 0.9079 GB, free: 6.895 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004888/0.7528, allocations: 372.7 kB / 0.9082 GB, free: 6.48 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.003358/0.7562, allocations: 1.535 MB / 0.9097 GB, free: 4.883 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.846e-06/0.7562, allocations: 0 / 0.9097 GB, free: 4.883 MB / 0.67 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001227/0.7575, allocations: 0.7884 MB / 0.9105 GB, free: 4.078 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.707e-05/0.7575, allocations: 4.406 kB / 0.9105 GB, free: 4.074 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.117e-06/0.7575, allocations: 7.938 kB / 0.9105 GB, free: 4.066 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001573/0.7577, allocations: 69.67 kB / 0.9106 GB, free: 3.992 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006234/0.7583, allocations: 147.8 kB / 0.9107 GB, free: 3.848 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002338/0.7607, allocations: 3.126 MB / 0.9138 GB, free: 452 kB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007181/0.7614, allocations: 23.98 kB / 0.9138 GB, free: 428 kB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.104e-05/0.7615, allocations: 25.25 kB / 0.9138 GB, free: 404 kB / 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.000447/0.7619, allocations: 315.6 kB / 0.9141 GB, free: 80 kB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000161/0.7621, allocations: 91.02 kB / 0.9142 GB, free: 15.98 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001493/0.7622, allocations: 100.7 kB / 0.9143 GB, free: 15.89 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.478e-06/0.7622, allocations: 4 kB / 0.9143 GB, free: 15.89 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.139e-06/0.7623, allocations: 0 / 0.9143 GB, free: 15.89 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001018/0.7633, allocations: 0.831 MB / 0.9151 GB, free: 14.97 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002701/0.766, allocations: 1.795 MB / 0.9169 GB, free: 13.07 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.264e-06/0.766, allocations: 4 kB / 0.9169 GB, free: 13.07 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005854/0.7666, allocations: 136.2 kB / 0.917 GB, free: 12.94 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.732e-05/0.7667, allocations: 40.84 kB / 0.9171 GB, free: 12.89 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.885e-05/0.7668, allocations: 19.98 kB / 0.9171 GB, free: 12.88 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001169/0.7679, allocations: 1.59 MB / 0.9186 GB, free: 11.15 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.418e-06/0.768, allocations: 4 kB / 0.9186 GB, free: 11.14 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00145/0.7694, allocations: 1.089 MB / 0.9197 GB, free: 9.996 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003657/0.7698, allocations: 243.8 kB / 0.9199 GB, free: 9.738 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.166e-05/0.7699, allocations: 23.86 kB / 0.92 GB, free: 9.715 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006212/0.7705, allocations: 31.98 kB / 0.92 GB, free: 9.684 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.767e-05/0.7706, allocations: 40.02 kB / 0.92 GB, free: 9.645 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.001e-05/0.7707, allocations: 27.98 kB / 0.92 GB, free: 9.617 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0006625/0.7714, allocations: 0.5653 MB / 0.9206 GB, free: 9.055 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7714, allocations: 0 / 0.9206 GB, free: 9.055 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0008354/0.7722, allocations: 276 kB / 0.9209 GB, free: 8.785 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.00211/0.7743, allocations: 1.74 MB / 0.9226 GB, free: 6.984 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.001257/0.7756, allocations: 0.8045 MB / 0.9234 GB, free: 6.156 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/0.7756, allocations: 4 kB / 0.9234 GB, free: 6.152 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.000535/0.7761, allocations: 399.7 kB / 0.9237 GB, free: 5.75 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002207/0.7784, allocations: 0.5998 MB / 0.9243 GB, free: 5.18 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009083/0.7875, allocations: 7.003 MB / 0.9312 GB, free: 13.88 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006384/0.7881, allocations: 1.088 MB / 0.9322 GB, free: 12.76 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.000761/0.7889, allocations: 215.7 kB / 0.9324 GB, free: 12.54 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004224/0.7893, allocations: 347.3 kB / 0.9328 GB, free: 12.2 MB / 0.7012 GB Notification: Performance of SimCode: time 7.42e-07/0.7893, allocations: 0 / 0.9328 GB, free: 12.2 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06054/0.8499, allocations: 27.43 MB / 0.9595 GB, free: 1.137 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.3/13.15, allocations: 8.656 kB / 0.9596 GB, free: 1.129 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)