Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.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/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.MixingVolumeMoistureReverseFlow,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow,fileNamePrefix="IBPSA_latest_IBPSA_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.0006703/0.0006706, allocations: 88.17 kB / 15.7 MB, free: 460 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.0007243/0.0007244, allocations: 173.7 kB / 16.58 MB, free: 6.395 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.181/1.181, allocations: 223.3 MB / 240.6 MB, free: 5.281 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6002/0.6002, allocations: 113.7 MB / 405.4 MB, free: 4.512 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002661/0.0002662, allocations: 12.66 kB / 493.1 MB, free: 8.555 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1196/0.1199, allocations: 77.12 MB / 0.5569 GB, free: 11.64 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow): time 0.4047/0.5246, allocations: 201.5 MB / 0.7536 GB, free: 1.25 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.007366/0.532, allocations: 5.378 MB / 0.7589 GB, free: 11.86 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009688/0.533, allocations: 39.69 kB / 0.7589 GB, free: 11.82 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001086/0.5341, allocations: 397.5 kB / 0.7593 GB, free: 11.43 MB / 0.5762 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.003144/0.5372, allocations: 1.384 MB / 0.7607 GB, free: 10.04 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002156/0.5394, allocations: 0.8539 MB / 0.7615 GB, free: 9.203 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.00343/0.5428, allocations: 3.447 MB / 0.7649 GB, free: 5.742 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001056/0.5439, allocations: 0.714 MB / 0.7656 GB, free: 5.023 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001479/0.5454, allocations: 0.8985 MB / 0.7664 GB, free: 4.121 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001313/0.5467, allocations: 0.8795 MB / 0.7673 GB, free: 3.238 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001526/0.5469, allocations: 40 kB / 0.7673 GB, free: 3.199 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001673/0.5486, allocations: 0.7054 MB / 0.768 GB, free: 2.492 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003904/0.549, allocations: 386.8 kB / 0.7684 GB, free: 2.113 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0003258/0.5493, allocations: 257.1 kB / 0.7686 GB, free: 1.855 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001425/0.5507, allocations: 1.473 MB / 0.7701 GB, free: 388 kB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.5507, allocations: 4 kB / 0.7701 GB, free: 384 kB / 0.5762 GB Notification: Performance of FrontEnd: time 1.453e-06/0.5508, allocations: 0 / 0.7701 GB, free: 384 kB / 0.5762 GB Notification: Performance of Transformations before backend: time 2.999e-05/0.5508, allocations: 0 / 0.7701 GB, free: 384 kB / 0.5762 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.001944/0.5527, allocations: 1.302 MB / 0.7713 GB, free: 15.02 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.344e-05/0.5528, allocations: 8.031 kB / 0.7714 GB, free: 15.01 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001803/0.553, allocations: 139.3 kB / 0.7715 GB, free: 14.87 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001746/0.5547, allocations: 318.1 kB / 0.7718 GB, free: 14.56 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001097/0.5558, allocations: 0.7856 MB / 0.7726 GB, free: 13.73 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.271e-05/0.5559, allocations: 69.98 kB / 0.7726 GB, free: 13.66 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001067/0.556, allocations: 84 kB / 0.7727 GB, free: 13.58 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001431/0.5574, allocations: 0.917 MB / 0.7736 GB, free: 12.66 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.093e-05/0.5575, allocations: 4 kB / 0.7736 GB, free: 12.66 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.752e-05/0.5576, allocations: 36 kB / 0.7736 GB, free: 12.62 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.048e-05/0.5576, allocations: 34 kB / 0.7737 GB, free: 12.59 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001277/0.5589, allocations: 0.8354 MB / 0.7745 GB, free: 11.75 MB / 0.5919 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.004481/0.5634, allocations: 3.552 MB / 0.778 GB, free: 7.973 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006738/0.5641, allocations: 498.9 kB / 0.7784 GB, free: 7.48 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004016/0.5645, allocations: 306 kB / 0.7787 GB, free: 7.18 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001585/0.5646, allocations: 105.5 kB / 0.7788 GB, free: 7.055 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.442e-05/0.5647, allocations: 42.94 kB / 0.7789 GB, free: 7.004 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=47): time 1.423e-06/0.5647, allocations: 0 / 0.7789 GB, free: 7.004 MB / 0.5919 GB Notification: Performance of matching and sorting (n=49): time 0.003018/0.5677, allocations: 1.891 MB / 0.7807 GB, free: 5.02 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.743e-05/0.5677, allocations: 55.84 kB / 0.7808 GB, free: 4.953 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008221/0.5686, allocations: 0.798 MB / 0.7815 GB, free: 4.148 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 5.177e-05/0.5686, allocations: 45.7 kB / 0.7816 GB, free: 4.098 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002902/0.5689, allocations: 483.1 kB / 0.782 GB, free: 3.621 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001255/0.5691, allocations: 173.5 kB / 0.7822 GB, free: 3.449 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.922e-05/0.5691, allocations: 8 kB / 0.7822 GB, free: 3.441 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 9.998e-05/0.5692, allocations: 334 kB / 0.7825 GB, free: 3.109 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003842/0.5696, allocations: 245.2 kB / 0.7828 GB, free: 2.867 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004549/0.5701, allocations: 384.7 kB / 0.7831 GB, free: 2.445 MB / 0.5919 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.002383/0.5724, allocations: 1.002 MB / 0.7841 GB, free: 1.43 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.5725, allocations: 0 / 0.7841 GB, free: 1.43 MB / 0.5919 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001137/0.5736, allocations: 0.8004 MB / 0.7849 GB, free: 0.6211 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.794e-05/0.5736, allocations: 12 kB / 0.7849 GB, free: 0.6094 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.5736, allocations: 3.938 kB / 0.7849 GB, free: 0.6055 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001392/0.5738, allocations: 65.69 kB / 0.785 GB, free: 0.5352 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006147/0.5744, allocations: 159.8 kB / 0.7851 GB, free: 388 kB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002013/0.5764, allocations: 2.889 MB / 0.788 GB, free: 13.22 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006726/0.5771, allocations: 64.02 kB / 0.788 GB, free: 13.16 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.549e-05/0.5772, allocations: 23.98 kB / 0.788 GB, free: 13.14 MB / 0.6075 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.000355/0.5775, allocations: 309.2 kB / 0.7883 GB, free: 12.83 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001178/0.5777, allocations: 94.95 kB / 0.7884 GB, free: 12.74 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001722/0.5778, allocations: 100.7 kB / 0.7885 GB, free: 12.64 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.681e-06/0.5779, allocations: 7.984 kB / 0.7885 GB, free: 12.63 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.471e-06/0.5779, allocations: 0.875 kB / 0.7885 GB, free: 12.63 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009009/0.5788, allocations: 0.8466 MB / 0.7894 GB, free: 11.69 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002391/0.5812, allocations: 1.809 MB / 0.7911 GB, free: 9.777 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.082e-06/0.5812, allocations: 4 kB / 0.7911 GB, free: 9.773 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005379/0.5817, allocations: 144.2 kB / 0.7913 GB, free: 9.633 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.337e-05/0.5818, allocations: 40.83 kB / 0.7913 GB, free: 9.59 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.301e-05/0.5819, allocations: 20 kB / 0.7913 GB, free: 9.57 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009944/0.5829, allocations: 1.472 MB / 0.7928 GB, free: 7.961 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.929e-06/0.5829, allocations: 7.938 kB / 0.7928 GB, free: 7.953 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001314/0.5842, allocations: 1.072 MB / 0.7938 GB, free: 6.824 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002994/0.5845, allocations: 236 kB / 0.794 GB, free: 6.574 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001004/0.5846, allocations: 12 kB / 0.794 GB, free: 6.562 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006209/0.5852, allocations: 65.5 kB / 0.7941 GB, free: 6.5 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.147e-05/0.5853, allocations: 55.83 kB / 0.7942 GB, free: 6.445 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.234e-05/0.5854, allocations: 23.98 kB / 0.7942 GB, free: 6.422 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0006045/0.586, allocations: 0.5575 MB / 0.7947 GB, free: 5.871 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.586, allocations: 0 / 0.7947 GB, free: 5.871 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0007187/0.5867, allocations: 276 kB / 0.795 GB, free: 5.602 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 2 (volDyn.dynBal.medium.Xi[1],volDyn.dynBal.U) * 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.001824/0.5886, allocations: 1.714 MB / 0.7967 GB, free: 3.832 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001079/0.5897, allocations: 0.8081 MB / 0.7975 GB, free: 2.996 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.689e-06/0.5897, allocations: 4 kB / 0.7975 GB, free: 2.992 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0004947/0.5902, allocations: 412.4 kB / 0.7979 GB, free: 2.578 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00218/0.5924, allocations: 0.5896 MB / 0.7984 GB, free: 2 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007156/0.5995, allocations: 5.445 MB / 0.8037 GB, free: 12.34 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005753/0.6001, allocations: 1.088 MB / 0.8048 GB, free: 11.22 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0007599/0.6009, allocations: 219.7 kB / 0.805 GB, free: 11 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004101/0.6013, allocations: 343.3 kB / 0.8053 GB, free: 10.67 MB / 0.6231 GB Notification: Performance of SimCode: time 3.51e-07/0.6013, allocations: 0 / 0.8053 GB, free: 10.67 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.265/0.8663, allocations: 26.79 MB / 0.8315 GB, free: 213.3 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001372/0.8665, allocations: 281.5 kB / 0.8318 GB, free: 212.9 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.989/2.855, allocations: 1.188 kB / 0.8318 GB, free: 212.9 MB / 0.6231 GB (rm -f IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlow_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlow.fmu > IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe 2>&1) Environment - environmentSimulation: