Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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_dev_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow,fileNamePrefix="IDEAS_dev_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.001009/0.001009, allocations: 91.61 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.001072/0.001071, 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.543/1.543, allocations: 223.3 MB / 240 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9707/0.9707, allocations: 135.3 MB / 426.3 MB, free: 14.17 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003661/0.0003664, allocations: 16 kB / 0.5071 GB, free: 5.031 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.198/0.1984, allocations: 82.32 MB / 0.5875 GB, free: 2.891 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow): time 0.5751/0.7735, allocations: 201.4 MB / 0.7842 GB, free: 3.422 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.009524/0.7831, allocations: 5.385 MB / 0.7894 GB, free: 14.03 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001581/0.7847, allocations: 35.75 kB / 0.7895 GB, free: 14 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001414/0.7862, allocations: 401.5 kB / 0.7899 GB, free: 13.6 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.00442/0.7906, allocations: 1.372 MB / 0.7912 GB, free: 12.22 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.00313/0.7937, allocations: 0.8499 MB / 0.792 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.004691/0.7984, allocations: 3.432 MB / 0.7954 GB, free: 7.941 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001745/0.8002, allocations: 0.7278 MB / 0.7961 GB, free: 7.211 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002171/0.8024, allocations: 0.8946 MB / 0.797 GB, free: 6.312 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001543/0.804, allocations: 0.8756 MB / 0.7978 GB, free: 5.434 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001241/0.8041, allocations: 40 kB / 0.7979 GB, free: 5.395 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002553/0.8067, allocations: 0.7054 MB / 0.7985 GB, free: 4.688 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0005148/0.8072, allocations: 386.8 kB / 0.7989 GB, free: 4.309 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0005139/0.8077, allocations: 261.1 kB / 0.7992 GB, free: 4.047 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.002291/0.81, allocations: 1.465 MB / 0.8006 GB, free: 2.578 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.482e-06/0.81, allocations: 0 / 0.8006 GB, free: 2.578 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.044e-06/0.81, allocations: 0 / 0.8006 GB, free: 2.578 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.988e-05/0.8101, allocations: 4 kB / 0.8006 GB, free: 2.574 MB / 0.6075 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.002369/0.8124, allocations: 1.299 MB / 0.8019 GB, free: 1.223 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.595e-05/0.8125, allocations: 8.031 kB / 0.8019 GB, free: 1.215 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001935/0.8127, allocations: 139.3 kB / 0.802 GB, free: 1.07 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001974/0.8147, allocations: 314.3 kB / 0.8023 GB, free: 0.7617 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001493/0.8162, allocations: 0.7857 MB / 0.8031 GB, free: 15.93 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.25e-05/0.8163, allocations: 66 kB / 0.8031 GB, free: 15.87 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001374/0.8164, allocations: 80 kB / 0.8032 GB, free: 15.79 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001789/0.8182, allocations: 0.9227 MB / 0.8041 GB, free: 14.86 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.741e-05/0.8182, allocations: 3.953 kB / 0.8041 GB, free: 14.86 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.84e-05/0.8183, allocations: 44.84 kB / 0.8042 GB, free: 14.82 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.997e-05/0.8184, allocations: 30 kB / 0.8042 GB, free: 14.79 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001548/0.82, allocations: 0.8393 MB / 0.805 GB, free: 13.95 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.005458/0.8254, allocations: 3.533 MB / 0.8085 GB, free: 10.2 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000843/0.8263, allocations: 0.5097 MB / 0.809 GB, free: 9.68 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004589/0.8268, allocations: 302.8 kB / 0.8092 GB, free: 9.383 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002008/0.827, allocations: 97.53 kB / 0.8093 GB, free: 9.266 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.906e-05/0.827, allocations: 45.12 kB / 0.8094 GB, free: 9.215 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=47): time 2.344e-06/0.827, allocations: 0 / 0.8094 GB, free: 9.215 MB / 0.6231 GB Notification: Performance of matching and sorting (n=49): time 0.003672/0.8307, allocations: 1.895 MB / 0.8112 GB, free: 7.227 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.448e-05/0.8308, allocations: 55.84 kB / 0.8113 GB, free: 7.16 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009849/0.8318, allocations: 0.8019 MB / 0.8121 GB, free: 6.348 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 5.102e-05/0.8318, allocations: 41.7 kB / 0.8121 GB, free: 6.301 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003368/0.8322, allocations: 475.3 kB / 0.8126 GB, free: 5.832 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001589/0.8323, allocations: 173.5 kB / 0.8127 GB, free: 5.66 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.246e-05/0.8324, allocations: 12 kB / 0.8127 GB, free: 5.648 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001269/0.8325, allocations: 326 kB / 0.813 GB, free: 5.324 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004133/0.8329, allocations: 249.2 kB / 0.8133 GB, free: 5.082 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000503/0.8335, allocations: 380.7 kB / 0.8136 GB, free: 4.66 MB / 0.6231 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.002552/0.836, allocations: 0.996 MB / 0.8146 GB, free: 3.652 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.836, allocations: 0 / 0.8146 GB, free: 3.652 MB / 0.6231 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001318/0.8374, allocations: 0.7961 MB / 0.8154 GB, free: 2.844 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.16e-05/0.8374, allocations: 8.406 kB / 0.8154 GB, free: 2.836 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.005e-06/0.8374, allocations: 0 / 0.8154 GB, free: 2.836 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001646/0.8376, allocations: 73.62 kB / 0.8155 GB, free: 2.758 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000659/0.8382, allocations: 159.7 kB / 0.8156 GB, free: 2.602 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002275/0.8405, allocations: 2.885 MB / 0.8184 GB, free: 15.45 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008913/0.8414, allocations: 61.95 kB / 0.8185 GB, free: 15.39 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.159e-05/0.8415, allocations: 21.09 kB / 0.8185 GB, free: 15.37 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.0005253/0.842, allocations: 301.6 kB / 0.8188 GB, free: 15.07 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001394/0.8422, allocations: 94.88 kB / 0.8189 GB, free: 14.97 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001877/0.8424, allocations: 108.7 kB / 0.819 GB, free: 14.86 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.5e-06/0.8424, allocations: 4 kB / 0.819 GB, free: 14.86 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.354e-06/0.8424, allocations: 3.938 kB / 0.819 GB, free: 14.85 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009953/0.8434, allocations: 0.8466 MB / 0.8198 GB, free: 13.91 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002672/0.8461, allocations: 1.806 MB / 0.8216 GB, free: 12 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.995e-06/0.8461, allocations: 4 kB / 0.8216 GB, free: 12 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006081/0.8467, allocations: 135.8 kB / 0.8217 GB, free: 11.87 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001121/0.8469, allocations: 48.98 kB / 0.8218 GB, free: 11.82 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.284e-05/0.8469, allocations: 12 kB / 0.8218 GB, free: 11.8 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001329/0.8482, allocations: 1.472 MB / 0.8232 GB, free: 10.2 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.205e-06/0.8483, allocations: 11.92 kB / 0.8232 GB, free: 10.19 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001858/0.8501, allocations: 1.111 MB / 0.8243 GB, free: 9.027 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005776/0.8507, allocations: 236 kB / 0.8246 GB, free: 8.777 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002205/0.851, allocations: 8 kB / 0.8246 GB, free: 8.77 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000897/0.8519, allocations: 73.48 kB / 0.8246 GB, free: 8.699 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001137/0.852, allocations: 47.84 kB / 0.8247 GB, free: 8.652 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.113e-05/0.8521, allocations: 27.98 kB / 0.8247 GB, free: 8.625 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0009424/0.853, allocations: 0.5498 MB / 0.8252 GB, free: 8.082 MB / 0.6387 GB Notification: Performance of sort global known variables: time 3.4e-07/0.853, allocations: 0 / 0.8252 GB, free: 8.082 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001121/0.8542, allocations: 280 kB / 0.8255 GB, free: 7.809 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.002377/0.8565, allocations: 1.732 MB / 0.8272 GB, free: 6.012 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001573/0.8581, allocations: 0.8144 MB / 0.828 GB, free: 5.176 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 5.511e-06/0.8582, allocations: 0 / 0.828 GB, free: 5.176 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0006138/0.8588, allocations: 411.8 kB / 0.8284 GB, free: 4.762 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003025/0.8618, allocations: 0.575 MB / 0.829 GB, free: 4.203 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00994/0.8718, allocations: 5.449 MB / 0.8343 GB, free: 14.54 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008044/0.8726, allocations: 1.091 MB / 0.8353 GB, free: 13.41 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.001079/0.8737, allocations: 216.4 kB / 0.8355 GB, free: 13.2 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000486/0.8742, allocations: 343.3 kB / 0.8359 GB, free: 12.86 MB / 0.6544 GB Notification: Performance of SimCode: time 1.002e-06/0.8742, allocations: 0 / 0.8359 GB, free: 12.86 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0552/0.9294, allocations: 26.83 MB / 0.8621 GB, free: 2.484 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004127/0.9299, allocations: 269.5 kB / 0.8623 GB, free: 2.129 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.376/3.306, allocations: 0 / 0.8623 GB, free: 2.129 MB / 0.67 GB (rm -f IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlow_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlow.fmu > IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe 2>&1) Environment - environmentSimulation: