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.001138/0.001138, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001168/0.001168, allocations: 191.8 kB / 16.25 MB, free: 6.633 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.192/1.192, allocations: 222.9 MB / 239.9 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6723/0.6723, allocations: 132.2 MB / 422.3 MB, free: 1.941 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001317/0.001317, allocations: 59 kB / 0.5014 GB, free: 4.129 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3194/0.3207, allocations: 80.2 MB / 0.5797 GB, free: 4.57 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow): time 0.1878/0.5086, allocations: 218.3 MB / 0.7929 GB, free: 6.66 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.007292/0.5159, allocations: 5.683 MB / 0.7984 GB, free: 0.9609 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006431/0.5165, allocations: 35.75 kB / 0.7984 GB, free: 0.9258 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.001089/0.5176, allocations: 0.5131 MB / 0.7989 GB, free: 420 kB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.002998/0.5207, allocations: 1.73 MB / 0.8006 GB, free: 14.67 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.002088/0.5228, allocations: 1.101 MB / 0.8017 GB, free: 13.58 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.002324/0.5251, allocations: 2.925 MB / 0.8046 GB, free: 10.65 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009253/0.5261, allocations: 1.003 MB / 0.8055 GB, free: 9.625 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001087/0.5271, allocations: 1.066 MB / 0.8066 GB, free: 8.555 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001661/0.5288, allocations: 1.004 MB / 0.8076 GB, free: 7.559 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0001288/0.529, allocations: 108 kB / 0.8077 GB, free: 7.453 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00185/0.5308, allocations: 1.5 MB / 0.8091 GB, free: 5.949 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0003447/0.5312, allocations: 462.8 kB / 0.8096 GB, free: 5.496 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0005392/0.5317, allocations: 0.6573 MB / 0.8102 GB, free: 4.836 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.002088/0.5338, allocations: 2.216 MB / 0.8124 GB, free: 2.613 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.5338, allocations: 0 / 0.8124 GB, free: 2.613 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.273e-06/0.5338, allocations: 0 / 0.8124 GB, free: 2.613 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.146e-05/0.5338, allocations: 0 / 0.8124 GB, free: 2.613 MB / 0.6387 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.00198/0.5358, allocations: 1.503 MB / 0.8138 GB, free: 1.059 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.331e-05/0.5359, allocations: 12.03 kB / 0.8139 GB, free: 1.047 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001416/0.536, allocations: 139.2 kB / 0.814 GB, free: 0.9023 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00177/0.5378, allocations: 314.3 kB / 0.8143 GB, free: 0.5938 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2046/0.7424, allocations: 0.8144 MB / 0.8151 GB, free: 223.1 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.562e-05/0.7425, allocations: 62.58 kB / 0.8151 GB, free: 223.1 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000196/0.7427, allocations: 87.44 kB / 0.8152 GB, free: 223.1 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001671/0.7444, allocations: 0.912 MB / 0.8161 GB, free: 222.7 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.366e-05/0.7444, allocations: 4.625 kB / 0.8161 GB, free: 222.7 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.457e-05/0.7445, allocations: 41.27 kB / 0.8162 GB, free: 222.7 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.672e-05/0.7445, allocations: 35.19 kB / 0.8162 GB, free: 222.7 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001331/0.7459, allocations: 0.832 MB / 0.817 GB, free: 222.4 MB / 0.6387 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.004625/0.7505, allocations: 3.524 MB / 0.8205 GB, free: 220.4 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006936/0.7512, allocations: 0.5025 MB / 0.8209 GB, free: 220.2 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003984/0.7516, allocations: 298.3 kB / 0.8212 GB, free: 220.1 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001518/0.7518, allocations: 101.4 kB / 0.8213 GB, free: 220 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.006e-05/0.7518, allocations: 51.83 kB / 0.8214 GB, free: 220 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=47): time 2.625e-06/0.7518, allocations: 3.844 kB / 0.8214 GB, free: 220 MB / 0.6387 GB Notification: Performance of matching and sorting (n=49): time 0.003109/0.7549, allocations: 1.869 MB / 0.8232 GB, free: 218.9 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.061e-05/0.7549, allocations: 57.38 kB / 0.8233 GB, free: 218.8 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009119/0.7559, allocations: 0.8042 MB / 0.824 GB, free: 218.5 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 5.484e-05/0.7559, allocations: 41.17 kB / 0.8241 GB, free: 218.5 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002259/0.7562, allocations: 477.3 kB / 0.8245 GB, free: 218.1 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001065/0.7563, allocations: 175.1 kB / 0.8247 GB, free: 218 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001638/0.7564, allocations: 116 kB / 0.8248 GB, free: 217.9 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 4.587e-05/0.7565, allocations: 332.1 kB / 0.8251 GB, free: 217.6 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000378/0.7569, allocations: 243.2 kB / 0.8254 GB, free: 217.5 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004405/0.7573, allocations: 381.6 kB / 0.8257 GB, free: 217.3 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.003001/0.7603, allocations: 1.532 MB / 0.8272 GB, free: 216.6 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.766e-06/0.7603, allocations: 1.156 kB / 0.8272 GB, free: 216.6 MB / 0.6387 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001088/0.7614, allocations: 0.7935 MB / 0.828 GB, free: 216.3 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.523e-05/0.7615, allocations: 7.438 kB / 0.828 GB, free: 216.3 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.016e-06/0.7615, allocations: 2.422 kB / 0.828 GB, free: 216.3 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001374/0.7616, allocations: 67.02 kB / 0.8281 GB, free: 216.3 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006005/0.7622, allocations: 153.4 kB / 0.8282 GB, free: 216.3 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001591/0.7638, allocations: 3.122 MB / 0.8313 GB, free: 213.3 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007629/0.7646, allocations: 60.86 kB / 0.8313 GB, free: 213.3 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.523e-05/0.7647, allocations: 23.45 kB / 0.8313 GB, free: 213.3 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 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.0003062/0.765, allocations: 305.2 kB / 0.8316 GB, free: 213.1 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001455/0.7651, allocations: 93.42 kB / 0.8317 GB, free: 213.1 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001458/0.7653, allocations: 100.2 kB / 0.8318 GB, free: 213 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.038e-06/0.7653, allocations: 5.344 kB / 0.8318 GB, free: 213 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.7653, allocations: 0 / 0.8318 GB, free: 213 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007394/0.766, allocations: 0.8412 MB / 0.8326 GB, free: 212.4 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002108/0.7681, allocations: 1.782 MB / 0.8344 GB, free: 211.4 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.498e-06/0.7682, allocations: 2.688 kB / 0.8344 GB, free: 211.4 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005463/0.7687, allocations: 142 kB / 0.8345 GB, free: 211.4 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.741e-05/0.7688, allocations: 41.77 kB / 0.8346 GB, free: 211.4 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.001e-05/0.7688, allocations: 17.88 kB / 0.8346 GB, free: 211.4 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007534/0.7696, allocations: 1.594 MB / 0.8361 GB, free: 209.8 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.058e-06/0.7696, allocations: 11.72 kB / 0.8362 GB, free: 209.8 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001174/0.7708, allocations: 1.093 MB / 0.8372 GB, free: 209.1 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002628/0.7711, allocations: 235.3 kB / 0.8374 GB, free: 208.9 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001038/0.7712, allocations: 16.39 kB / 0.8375 GB, free: 208.9 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006723/0.7718, allocations: 66.86 kB / 0.8375 GB, free: 208.9 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.464e-05/0.7719, allocations: 46.22 kB / 0.8376 GB, free: 208.9 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.143e-05/0.772, allocations: 27.11 kB / 0.8376 GB, free: 208.9 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0005131/0.7725, allocations: 0.5645 MB / 0.8381 GB, free: 208.5 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7725, allocations: 0 / 0.8381 GB, free: 208.5 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0007208/0.7732, allocations: 274.6 kB / 0.8384 GB, free: 208.5 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 (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.001557/0.7748, allocations: 1.721 MB / 0.8401 GB, free: 207.2 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001087/0.7759, allocations: 0.8741 MB / 0.8409 GB, free: 206.7 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.7759, allocations: 3.391 kB / 0.8409 GB, free: 206.7 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.000437/0.7764, allocations: 405.7 kB / 0.8413 GB, free: 206.5 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002141/0.7785, allocations: 0.6053 MB / 0.8419 GB, free: 206.2 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007502/0.786, allocations: 7.647 MB / 0.8494 GB, free: 201 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003527/0.7864, allocations: 1.088 MB / 0.8505 GB, free: 200.1 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0006637/0.7871, allocations: 213.8 kB / 0.8507 GB, free: 200 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003128/0.7874, allocations: 342.3 kB / 0.851 GB, free: 199.7 MB / 0.6387 GB Notification: Performance of SimCode: time 2.4e-07/0.7874, allocations: 0 / 0.851 GB, free: 199.7 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.347/3.134, allocations: 26.97 MB / 0.8773 GB, free: 174.3 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001866/3.135, allocations: 295.9 kB / 0.8776 GB, free: 173.9 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.414/7.549, allocations: 0 / 0.8776 GB, free: 173.9 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/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)