Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.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.MoistureMixingConservationDynamicBalance,fileNamePrefix="IDEAS_IDEAS_Fluid_MixingVolumes_Validation_MoistureMixingConservationDynamicBalance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance,fileNamePrefix="IDEAS_IDEAS_Fluid_MixingVolumes_Validation_MoistureMixingConservationDynamicBalance",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.007484/0.007484, allocations: 97.75 kB / 15.73 MB, free: 5.996 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.001835/0.001835, allocations: 186.3 kB / 16.67 MB, free: 5.926 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.399/1.399, allocations: 222.9 MB / 240.4 MB, free: 4.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7766/0.7766, allocations: 132.2 MB / 422.7 MB, free: 1.676 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001783/0.001783, allocations: 64.81 kB / 0.5809 GB, free: 1.066 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1433/0.1451, allocations: 80.19 MB / 0.6592 GB, free: 13.95 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance): time 0.5599/0.7051, allocations: 222.6 MB / 0.8766 GB, free: 2.645 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.01438/0.7195, allocations: 12.1 MB / 0.8884 GB, free: 2.316 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002674/0.7222, allocations: 72.78 kB / 0.8885 GB, free: 2.316 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.002303/0.7245, allocations: 0.8553 MB / 0.8893 GB, free: 2.305 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.00738/0.7319, allocations: 2.853 MB / 0.8921 GB, free: 1.973 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.003529/0.7355, allocations: 1.437 MB / 0.8935 GB, free: 1.395 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.005619/0.7411, allocations: 4.43 MB / 0.8978 GB, free: 144 kB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003059/0.7442, allocations: 1.729 MB / 0.8995 GB, free: 15.49 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006379/0.7506, allocations: 2.462 MB / 0.9019 GB, free: 14.84 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003534/0.7541, allocations: 1.554 MB / 0.9034 GB, free: 14.36 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0006841/0.7548, allocations: 185.2 kB / 0.9036 GB, free: 14.36 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005102/0.7599, allocations: 2.165 MB / 0.9057 GB, free: 13.96 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.001202/0.7612, allocations: 0.7006 MB / 0.9064 GB, free: 13.66 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.002424/0.7636, allocations: 1.044 MB / 0.9074 GB, free: 13.06 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.005764/0.7694, allocations: 3.344 MB / 0.9107 GB, free: 11.1 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/0.7694, allocations: 0 / 0.9107 GB, free: 11.1 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.513e-06/0.7694, allocations: 0 / 0.9107 GB, free: 11.1 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 2.173e-05/0.7694, allocations: 2.312 kB / 0.9107 GB, free: 11.1 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: 351 * Number of variables: 351 Notification: Performance of Generate backend data structure: time 0.00366/0.7731, allocations: 2.348 MB / 0.913 GB, free: 9.414 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.934e-05/0.7731, allocations: 8.281 kB / 0.913 GB, free: 9.414 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000249/0.7734, allocations: 205.4 kB / 0.9132 GB, free: 9.254 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002909/0.7763, allocations: 0.5054 MB / 0.9137 GB, free: 9.02 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002314/0.7786, allocations: 1.347 MB / 0.915 GB, free: 8.086 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.966e-05/0.7787, allocations: 112.2 kB / 0.9151 GB, free: 8.035 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002204/0.779, allocations: 148 kB / 0.9152 GB, free: 7.988 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002614/0.7816, allocations: 1.757 MB / 0.917 GB, free: 6.832 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.645e-05/0.7816, allocations: 5.438 kB / 0.917 GB, free: 6.832 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001344/0.7818, allocations: 59.72 kB / 0.917 GB, free: 6.789 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.326e-05/0.7818, allocations: 57.2 kB / 0.9171 GB, free: 6.777 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002067/0.7839, allocations: 1.392 MB / 0.9184 GB, free: 6.105 MB / 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.008707/0.7926, allocations: 7.296 MB / 0.9256 GB, free: 15.07 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001505/0.7942, allocations: 1.033 MB / 0.9266 GB, free: 14 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001007/0.7952, allocations: 0.6891 MB / 0.9272 GB, free: 13.3 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002311/0.7954, allocations: 121.1 kB / 0.9274 GB, free: 13.17 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.089e-05/0.7955, allocations: 54.19 kB / 0.9274 GB, free: 13.11 MB / 0.67 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001139/0.7966, allocations: 309.8 kB / 0.9277 GB, free: 12.81 MB / 0.67 GB Notification: Performance of pre-optimization done (n=106): time 3.256e-06/0.7966, allocations: 0 / 0.9277 GB, free: 12.81 MB / 0.67 GB Notification: Performance of matching and sorting (n=112): time 0.008111/0.8048, allocations: 4.521 MB / 0.9321 GB, free: 8.238 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001039/0.8049, allocations: 169.8 kB / 0.9323 GB, free: 8.035 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001608/0.8065, allocations: 1.267 MB / 0.9335 GB, free: 6.758 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 9.945e-05/0.8066, allocations: 49.7 kB / 0.9336 GB, free: 6.703 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005783/0.8072, allocations: 0.7126 MB / 0.9343 GB, free: 5.988 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.000383/0.8076, allocations: 428.2 kB / 0.9347 GB, free: 5.578 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003964/0.808, allocations: 259.5 kB / 0.9349 GB, free: 5.32 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001686/0.8082, allocations: 361.9 kB / 0.9353 GB, free: 4.961 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000851/0.809, allocations: 0.5231 MB / 0.9358 GB, free: 4.438 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001144/0.8102, allocations: 0.8567 MB / 0.9366 GB, free: 3.461 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: vol.dynBal.medium.p = vol.dynBal.p_start (sin.p = vol.dynBal.p_start) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: vol1.dynBal.medium.p = vol1.dynBal.p_start (sin.p = vol1.dynBal.p_start) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: vol2.dynBal.medium.p = vol2.dynBal.p_start (sin.p = vol2.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.01156/0.8217, allocations: 4.786 MB / 0.9413 GB, free: 14.55 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.001e-06/0.8218, allocations: 4 kB / 0.9413 GB, free: 14.55 MB / 0.6856 GB Notification: Performance of matching and sorting (n=169) (initialization): time 0.0027/0.8245, allocations: 1.623 MB / 0.9429 GB, free: 12.96 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.563e-05/0.8245, allocations: 8 kB / 0.9429 GB, free: 12.96 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.56e-05/0.8245, allocations: 8 kB / 0.9429 GB, free: 12.95 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.141e-05/0.8246, allocations: 16.75 kB / 0.9429 GB, free: 12.93 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001122/0.8257, allocations: 290.6 kB / 0.9432 GB, free: 12.67 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.545e-05/0.8257, allocations: 23.09 kB / 0.9432 GB, free: 12.65 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001405/0.8271, allocations: 51.94 kB / 0.9433 GB, free: 12.6 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001156/0.8273, allocations: 59.97 kB / 0.9433 GB, free: 12.54 MB / 0.6856 GB Warning: The initial conditions are over specified. The following 3 initial equations are redundant, so they are removed from the initialization system: vol.dynBal.medium.p = vol.dynBal.p_start vol1.dynBal.medium.p = vol1.dynBal.p_start vol2.dynBal.medium.p = vol2.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * Number of states: 0 () * Number of discrete variables: 6 (intMasVapOut.local_reset,intEntIn.local_reset,intEntOut.local_reset,intMasFloIn.local_reset,intMasFloOut.local_reset,intMasFloVapIn.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (169): * Single equations (assignments): 169 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007976/0.8281, allocations: 429 kB / 0.9437 GB, free: 12.13 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003346/0.8284, allocations: 170.9 kB / 0.9439 GB, free: 11.96 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002154/0.8306, allocations: 1.29 MB / 0.9451 GB, free: 10.67 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.264e-05/0.8306, allocations: 16 kB / 0.9452 GB, free: 10.65 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.526e-06/0.8306, allocations: 4.047 kB / 0.9452 GB, free: 10.65 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001634/0.8323, allocations: 1.244 MB / 0.9464 GB, free: 9.34 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005785/0.838, allocations: 3.755 MB / 0.95 GB, free: 5.48 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.379e-05/0.8381, allocations: 12 kB / 0.9501 GB, free: 5.469 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001133/0.8392, allocations: 251.2 kB / 0.9503 GB, free: 5.238 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.982e-05/0.8393, allocations: 16.72 kB / 0.9503 GB, free: 5.223 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.263e-05/0.8393, allocations: 40 kB / 0.9503 GB, free: 5.184 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-05/0.8394, allocations: 22.61 kB / 0.9504 GB, free: 5.164 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.439e-05/0.8394, allocations: 21 kB / 0.9504 GB, free: 5.148 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003007/0.8424, allocations: 2.229 MB / 0.9526 GB, free: 2.773 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006664/0.8431, allocations: 367.9 kB / 0.9529 GB, free: 2.395 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001879/0.8433, allocations: 32 kB / 0.9529 GB, free: 2.363 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001004/0.8443, allocations: 52.77 kB / 0.953 GB, free: 2.312 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001468/0.8444, allocations: 100.1 kB / 0.9531 GB, free: 2.223 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.301e-05/0.8445, allocations: 55.97 kB / 0.9531 GB, free: 2.168 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.001168/0.8457, allocations: 0.8529 MB / 0.954 GB, free: 1.316 MB / 0.6856 GB Notification: Performance of sort global known variables: time 8.92e-07/0.8457, allocations: 4 kB / 0.954 GB, free: 1.312 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001344/0.8471, allocations: 434.5 kB / 0.9544 GB, free: 0.8906 MB / 0.6856 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 44 * Number of states: 12 (vol.dynBal.U,vol.dynBal.mXi[1],vol1.dynBal.U,vol1.dynBal.mXi[1],vol2.dynBal.U,vol2.dynBal.mXi[1],intMasFloVapIn.y,intMasFloOut.y,intMasFloIn.y,intEntOut.y,intEntIn.y,intMasVapOut.y) * 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 (115): * Single equations (assignments): 115 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003625/0.8507, allocations: 2.886 MB / 0.9572 GB, free: 13.88 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.002134/0.8529, allocations: 1.254 MB / 0.9584 GB, free: 12.68 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 8.706e-06/0.8529, allocations: 4.5 kB / 0.9584 GB, free: 12.68 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0007922/0.8537, allocations: 0.5519 MB / 0.959 GB, free: 12.17 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004142/0.8578, allocations: 0.9299 MB / 0.9599 GB, free: 11.29 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01769/0.8755, allocations: 12.73 MB / 0.9723 GB, free: 13.96 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001065/0.8766, allocations: 1.376 MB / 0.9737 GB, free: 12.56 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.001368/0.878, allocations: 377.3 kB / 0.974 GB, free: 12.18 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000911/0.8789, allocations: 0.6438 MB / 0.9747 GB, free: 11.54 MB / 0.7169 GB Notification: Performance of SimCode: time 7.12e-07/0.8789, allocations: 0 / 0.9747 GB, free: 11.54 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2163/1.095, allocations: 43.29 MB / 1.017 GB, free: 0.9023 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.35/16.45, allocations: 17.3 kB / 1.017 GB, free: 0.8867 MB / 0.7481 GB (rm -f IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe ; mkfifo IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe >> ../files/IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_MixingVolumes_Validation_MoistureMixingConservationDynamicBalance_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_MixingVolumes_Validation_MoistureMixingConservationDynamicBalance.fmu > IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe 2>&1)