Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_MoistureMixingConservationDynamicBalance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance,fileNamePrefix="IBPSA_latest_IBPSA_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.0007031/0.0007031, allocations: 92.94 kB / 15.7 MB, free: 472 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0007666/0.0007666, allocations: 168.2 kB / 16.58 MB, free: 6.059 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.174/1.174, allocations: 223.3 MB / 240.6 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5953/0.5953, allocations: 113.7 MB / 405.4 MB, free: 4.59 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002703/0.0002703, allocations: 16.72 kB / 493.1 MB, free: 8.562 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1204/0.1207, allocations: 77.11 MB / 0.5569 GB, free: 11.67 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance): time 0.4109/0.5316, allocations: 202.7 MB / 0.7549 GB, free: 204 kB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01366/0.5454, allocations: 11.37 MB / 0.766 GB, free: 4.812 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001135/0.5465, allocations: 63.56 kB / 0.766 GB, free: 4.75 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001337/0.5479, allocations: 0.5821 MB / 0.7666 GB, free: 4.164 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.004265/0.5521, allocations: 2.126 MB / 0.7687 GB, free: 2.027 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002315/0.5545, allocations: 1.034 MB / 0.7697 GB, free: 1.008 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.004515/0.559, allocations: 5.132 MB / 0.7747 GB, free: 11.86 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001434/0.5604, allocations: 1.321 MB / 0.776 GB, free: 10.5 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003163/0.5636, allocations: 1.941 MB / 0.7779 GB, free: 8.555 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001551/0.5652, allocations: 1.441 MB / 0.7793 GB, free: 7.109 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001625/0.5653, allocations: 76 kB / 0.7794 GB, free: 7.035 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002256/0.5676, allocations: 1.06 MB / 0.7804 GB, free: 5.973 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0004932/0.5681, allocations: 0.5841 MB / 0.781 GB, free: 5.387 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0003324/0.5685, allocations: 384.8 kB / 0.7813 GB, free: 5.004 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001871/0.5703, allocations: 2.256 MB / 0.7835 GB, free: 2.746 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.5703, allocations: 0 / 0.7835 GB, free: 2.746 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.483e-06/0.5704, allocations: 4 kB / 0.7836 GB, free: 2.742 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.732e-05/0.5704, allocations: 4 kB / 0.7836 GB, free: 2.738 MB / 0.5919 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.002621/0.573, allocations: 1.91 MB / 0.7854 GB, free: 0.7734 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.517e-05/0.573, allocations: 8.031 kB / 0.7854 GB, free: 0.7656 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002299/0.5733, allocations: 210.8 kB / 0.7856 GB, free: 0.5508 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002457/0.5757, allocations: 0.4972 MB / 0.7861 GB, free: 52 kB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001681/0.5774, allocations: 1.209 MB / 0.7873 GB, free: 14.79 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.871e-05/0.5775, allocations: 106.8 kB / 0.7874 GB, free: 14.68 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001845/0.5777, allocations: 155.9 kB / 0.7875 GB, free: 14.53 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002271/0.58, allocations: 1.746 MB / 0.7893 GB, free: 12.67 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.195e-05/0.58, allocations: 7.938 kB / 0.7893 GB, free: 12.66 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001193/0.5802, allocations: 60 kB / 0.7893 GB, free: 12.61 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.221e-05/0.5802, allocations: 62.42 kB / 0.7894 GB, free: 12.54 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001921/0.5821, allocations: 1.388 MB / 0.7907 GB, free: 11.15 MB / 0.6075 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.006788/0.5889, allocations: 7.332 MB / 0.7979 GB, free: 3.438 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001367/0.5903, allocations: 1.051 MB / 0.7989 GB, free: 2.344 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008305/0.5912, allocations: 0.6828 MB / 0.7996 GB, free: 1.652 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001847/0.5913, allocations: 122.2 kB / 0.7997 GB, free: 1.516 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.889e-05/0.5914, allocations: 47.56 kB / 0.7997 GB, free: 1.457 MB / 0.6075 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008336/0.5922, allocations: 302.6 kB / 0.8 GB, free: 1.16 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=106): time 2.475e-06/0.5922, allocations: 3.938 kB / 0.8 GB, free: 1.156 MB / 0.6075 GB Notification: Performance of matching and sorting (n=112): time 0.006724/0.599, allocations: 4.409 MB / 0.8043 GB, free: 12.67 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.753e-05/0.5991, allocations: 171.3 kB / 0.8045 GB, free: 12.47 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001263/0.6003, allocations: 1.259 MB / 0.8057 GB, free: 11.2 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 7.257e-05/0.6004, allocations: 49.7 kB / 0.8058 GB, free: 11.14 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004506/0.6009, allocations: 0.693 MB / 0.8065 GB, free: 10.45 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002859/0.6012, allocations: 402.2 kB / 0.8068 GB, free: 10.05 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.64e-05/0.6012, allocations: 24 kB / 0.8069 GB, free: 10.02 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001224/0.6014, allocations: 361.9 kB / 0.8072 GB, free: 9.664 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007099/0.6021, allocations: 0.5153 MB / 0.8077 GB, free: 9.148 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009102/0.603, allocations: 0.8401 MB / 0.8085 GB, free: 8.188 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: vol2.dynBal.medium.p = vol2.dynBal.p_start (sin.p = vol2.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: vol.dynBal.medium.p = vol.dynBal.p_start (sin.p = vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.008061/0.6111, allocations: 3.496 MB / 0.8119 GB, free: 4.645 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.3e-06/0.6111, allocations: 8 kB / 0.812 GB, free: 4.637 MB / 0.6231 GB Notification: Performance of matching and sorting (n=169) (initialization): time 0.002151/0.6132, allocations: 1.588 MB / 0.8135 GB, free: 3.043 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.003e-05/0.6133, allocations: 12 kB / 0.8135 GB, free: 3.031 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.188e-05/0.6133, allocations: 8 kB / 0.8135 GB, free: 3.023 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.299e-05/0.6133, allocations: 16 kB / 0.8135 GB, free: 3.008 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009831/0.6143, allocations: 292.2 kB / 0.8138 GB, free: 2.723 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.045e-05/0.6143, allocations: 23.94 kB / 0.8138 GB, free: 2.699 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001085/0.6154, allocations: 111.5 kB / 0.814 GB, free: 2.594 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.275e-05/0.6155, allocations: 63.94 kB / 0.814 GB, free: 2.531 MB / 0.6231 GB Warning: The initial conditions are over specified. The following 3 initial equations are redundant, so they are removed from the initialization sytem: vol2.dynBal.medium.p = vol2.dynBal.p_start vol1.dynBal.medium.p = vol1.dynBal.p_start vol.dynBal.medium.p = vol.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006075/0.6161, allocations: 427.2 kB / 0.8144 GB, free: 2.105 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002492/0.6164, allocations: 162.1 kB / 0.8146 GB, free: 1.945 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001832/0.6182, allocations: 1.267 MB / 0.8158 GB, free: 0.6641 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.037e-05/0.6183, allocations: 12 kB / 0.8158 GB, free: 0.6523 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.6183, allocations: 0 / 0.8158 GB, free: 0.6523 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.233/0.8512, allocations: 1.227 MB / 0.817 GB, free: 219 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005723/0.857, allocations: 3.739 MB / 0.8207 GB, free: 217.5 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.48e-05/0.857, allocations: 10.3 kB / 0.8207 GB, free: 217.5 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001042/0.8581, allocations: 246.8 kB / 0.8209 GB, free: 217.5 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.427e-05/0.8581, allocations: 18.88 kB / 0.8209 GB, free: 217.5 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.54e-05/0.8582, allocations: 38.19 kB / 0.821 GB, free: 217.5 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.115e-05/0.8582, allocations: 21.28 kB / 0.821 GB, free: 217.5 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.257e-05/0.8583, allocations: 15.69 kB / 0.821 GB, free: 217.5 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00255/0.8608, allocations: 2.105 MB / 0.8231 GB, free: 216.4 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006113/0.8614, allocations: 355.3 kB / 0.8234 GB, free: 216.2 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001793/0.8616, allocations: 37.31 kB / 0.8234 GB, free: 216.2 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009684/0.8626, allocations: 93.69 kB / 0.8235 GB, free: 216.2 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001327/0.8627, allocations: 101.5 kB / 0.8236 GB, free: 216.1 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.769e-05/0.8628, allocations: 50.55 kB / 0.8237 GB, free: 216.1 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.001158/0.864, allocations: 0.8442 MB / 0.8245 GB, free: 215.8 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.41e-07/0.864, allocations: 0 / 0.8245 GB, free: 215.8 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001311/0.8653, allocations: 431.1 kB / 0.8249 GB, free: 215.8 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 44 * Number of states: 12 (vol.dynBal.medium.Xi[1],vol.dynBal.U,vol1.dynBal.medium.Xi[1],vol1.dynBal.U,vol2.dynBal.medium.Xi[1],vol2.dynBal.U,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002897/0.8682, allocations: 2.767 MB / 0.8276 GB, free: 214.1 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001922/0.8702, allocations: 1.21 MB / 0.8288 GB, free: 213.6 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 6.222e-06/0.8702, allocations: 3.438 kB / 0.8288 GB, free: 213.6 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0007698/0.8709, allocations: 0.5371 MB / 0.8293 GB, free: 213.5 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003591/0.8745, allocations: 0.8953 MB / 0.8302 GB, free: 213.3 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01375/0.8883, allocations: 10.5 MB / 0.8404 GB, free: 207.4 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000935/0.8893, allocations: 1.374 MB / 0.8418 GB, free: 206.6 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.001572/0.8909, allocations: 388.5 kB / 0.8422 GB, free: 206.5 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007468/0.8916, allocations: 0.6367 MB / 0.8428 GB, free: 206 MB / 0.6231 GB Notification: Performance of SimCode: time 6.21e-07/0.8916, allocations: 0 / 0.8428 GB, free: 206 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05197/0.9436, allocations: 42.26 MB / 0.884 GB, free: 171.8 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001832/0.9438, allocations: 262.5 kB / 0.8843 GB, free: 171.4 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.273/3.217, allocations: 2.953 kB / 0.8843 GB, free: 171.4 MB / 0.6231 GB (rm -f IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_MoistureMixingConservationDynamicBalance_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_MoistureMixingConservationDynamicBalance.fmu > IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe 2>&1) Environment - environmentSimulation: