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.000812/0.0008121, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.0009098/0.0009099, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.38/1.38, allocations: 223.2 MB / 240 MB, free: 5.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7806/0.7806, allocations: 132.3 MB / 423.4 MB, free: 2.047 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003611/0.0003612, allocations: 8.562 kB / 0.5035 GB, free: 4.156 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4181/0.4185, allocations: 81.58 MB / 0.5831 GB, free: 3.977 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow): time 0.2124/0.6309, allocations: 201.5 MB / 0.7799 GB, free: 6.594 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.008494/0.6394, allocations: 5.394 MB / 0.7852 GB, free: 1.188 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001302/0.6408, allocations: 35.75 kB / 0.7852 GB, free: 1.152 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001499/0.6423, allocations: 397.5 kB / 0.7856 GB, free: 0.7617 MB / 0.6075 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:784:36-785:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:782:36-783:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:784:36-785:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:782:36-783:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.004114/0.6464, allocations: 1.372 MB / 0.7869 GB, free: 15.38 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.002696/0.6491, allocations: 0.8458 MB / 0.7877 GB, free: 14.55 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.003995/0.6532, allocations: 3.439 MB / 0.7911 GB, free: 11.1 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001402/0.6546, allocations: 0.7229 MB / 0.7918 GB, free: 10.38 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001981/0.6566, allocations: 0.8868 MB / 0.7927 GB, free: 9.48 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001717/0.6583, allocations: 0.8756 MB / 0.7935 GB, free: 8.602 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0002711/0.6586, allocations: 40 kB / 0.7936 GB, free: 8.562 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002283/0.6609, allocations: 0.7015 MB / 0.7942 GB, free: 7.859 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0006603/0.6616, allocations: 386.8 kB / 0.7946 GB, free: 7.48 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0006442/0.6622, allocations: 257.1 kB / 0.7949 GB, free: 7.223 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.002298/0.6645, allocations: 1.473 MB / 0.7963 GB, free: 5.746 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 4.648e-06/0.6646, allocations: 0 / 0.7963 GB, free: 5.746 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.653e-06/0.6646, allocations: 0 / 0.7963 GB, free: 5.746 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 7.247e-05/0.6646, allocations: 0 / 0.7963 GB, free: 5.746 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.002665/0.6673, allocations: 1.293 MB / 0.7976 GB, free: 4.398 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.309e-05/0.6674, allocations: 8.031 kB / 0.7976 GB, free: 4.391 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003257/0.6677, allocations: 143.3 kB / 0.7977 GB, free: 4.242 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002125/0.6698, allocations: 322.2 kB / 0.798 GB, free: 3.926 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001494/0.6713, allocations: 0.7817 MB / 0.7988 GB, free: 3.102 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.24e-05/0.6714, allocations: 66 kB / 0.7988 GB, free: 3.039 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001683/0.6716, allocations: 84 kB / 0.7989 GB, free: 2.957 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001771/0.6734, allocations: 0.9209 MB / 0.7998 GB, free: 2.027 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.665e-05/0.6734, allocations: 3.953 kB / 0.7998 GB, free: 2.023 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001061/0.6735, allocations: 39.94 kB / 0.7999 GB, free: 1.984 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.655e-05/0.6736, allocations: 37.98 kB / 0.7999 GB, free: 1.945 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001571/0.6752, allocations: 0.8354 MB / 0.8007 GB, free: 1.113 MB / 0.6231 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.005879/0.681, allocations: 3.541 MB / 0.8042 GB, free: 13.35 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008572/0.6819, allocations: 0.4993 MB / 0.8047 GB, free: 12.84 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004759/0.6824, allocations: 303.5 kB / 0.8049 GB, free: 12.55 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002174/0.6826, allocations: 105.5 kB / 0.805 GB, free: 12.43 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.712e-05/0.6827, allocations: 39 kB / 0.8051 GB, free: 12.38 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=47): time 2.555e-06/0.6827, allocations: 0 / 0.8051 GB, free: 12.38 MB / 0.6387 GB Notification: Performance of matching and sorting (n=49): time 0.003871/0.6866, allocations: 1.903 MB / 0.8069 GB, free: 10.38 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.497e-05/0.6867, allocations: 55.84 kB / 0.807 GB, free: 10.31 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001081/0.6877, allocations: 0.798 MB / 0.8078 GB, free: 9.5 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 6.167e-05/0.6878, allocations: 41.7 kB / 0.8078 GB, free: 9.453 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003621/0.6882, allocations: 475.3 kB / 0.8083 GB, free: 8.984 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.000212/0.6884, allocations: 169.5 kB / 0.8084 GB, free: 8.816 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.291e-05/0.6884, allocations: 12 kB / 0.8084 GB, free: 8.805 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001289/0.6886, allocations: 330 kB / 0.8087 GB, free: 8.477 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004278/0.689, allocations: 245.2 kB / 0.809 GB, free: 8.238 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005327/0.6896, allocations: 388.6 kB / 0.8094 GB, free: 7.809 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.002599/0.6922, allocations: 0.994 MB / 0.8103 GB, free: 6.801 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.172e-06/0.6922, allocations: 4 kB / 0.8103 GB, free: 6.797 MB / 0.6387 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001373/0.6936, allocations: 0.7883 MB / 0.8111 GB, free: 6 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.12e-05/0.6936, allocations: 8 kB / 0.8111 GB, free: 5.992 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.092e-05/0.6936, allocations: 4.406 kB / 0.8111 GB, free: 5.988 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001769/0.6938, allocations: 69.67 kB / 0.8112 GB, free: 5.914 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006633/0.6945, allocations: 163.7 kB / 0.8113 GB, free: 5.754 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002487/0.697, allocations: 2.877 MB / 0.8141 GB, free: 2.605 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009108/0.6979, allocations: 67.89 kB / 0.8142 GB, free: 2.539 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.734e-05/0.698, allocations: 24 kB / 0.8142 GB, free: 2.516 MB / 0.6387 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0005436/0.6985, allocations: 301.6 kB / 0.8145 GB, free: 2.211 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001988/0.6987, allocations: 94.88 kB / 0.8146 GB, free: 2.117 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002301/0.699, allocations: 104.7 kB / 0.8147 GB, free: 2.012 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.332e-06/0.699, allocations: 8 kB / 0.8147 GB, free: 2.004 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.699, allocations: 0 / 0.8147 GB, free: 2.004 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001079/0.7001, allocations: 0.8427 MB / 0.8155 GB, free: 1.074 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3234/1.023, allocations: 1.793 MB / 0.8173 GB, free: 219.8 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.677e-06/1.024, allocations: 3.531 kB / 0.8173 GB, free: 219.8 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006408/1.024, allocations: 141.8 kB / 0.8174 GB, free: 219.8 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.968e-05/1.024, allocations: 44.45 kB / 0.8175 GB, free: 219.8 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.55e-05/1.024, allocations: 14.06 kB / 0.8175 GB, free: 219.8 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00103/1.025, allocations: 1.475 MB / 0.8189 GB, free: 218.6 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.027e-06/1.025, allocations: 6.75 kB / 0.8189 GB, free: 218.6 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001661/1.027, allocations: 1.105 MB / 0.82 GB, free: 218.2 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004168/1.027, allocations: 236.5 kB / 0.8202 GB, free: 218.1 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001038/1.028, allocations: 14.86 kB / 0.8202 GB, free: 218.1 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006752/1.028, allocations: 67.86 kB / 0.8203 GB, free: 218.1 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001054/1.028, allocations: 45.75 kB / 0.8204 GB, free: 218.1 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.863e-05/1.028, allocations: 32.53 kB / 0.8204 GB, free: 218.1 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0008063/1.029, allocations: 0.5522 MB / 0.8209 GB, free: 217.8 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.2e-07/1.029, allocations: 0 / 0.8209 GB, free: 217.8 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0009818/1.03, allocations: 274.7 kB / 0.8212 GB, free: 217.8 MB / 0.6387 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.002005/1.032, allocations: 1.732 MB / 0.8229 GB, free: 216.7 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001286/1.034, allocations: 0.799 MB / 0.8237 GB, free: 216.3 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 4.879e-06/1.034, allocations: 2.406 kB / 0.8237 GB, free: 216.3 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0005503/1.034, allocations: 414.2 kB / 0.8241 GB, free: 216.1 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002544/1.037, allocations: 0.5742 MB / 0.8246 GB, free: 216 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008389/1.045, allocations: 5.461 MB / 0.83 GB, free: 213.3 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007008/1.046, allocations: 1.092 MB / 0.831 GB, free: 212.5 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001111/1.047, allocations: 215.6 kB / 0.8312 GB, free: 212.5 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004176/1.047, allocations: 342 kB / 0.8316 GB, free: 212.2 MB / 0.6387 GB Notification: Performance of SimCode: time 1.002e-06/1.047, allocations: 2.203 kB / 0.8316 GB, free: 212.2 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04867/1.096, allocations: 26.82 MB / 0.8577 GB, free: 195 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002518/1.096, allocations: 268.8 kB / 0.858 GB, free: 194.6 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.231/3.328, allocations: 0 / 0.858 GB, free: 194.6 MB / 0.6387 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/linux/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) Environment - environmentSimulation: