Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState.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.MoistureMixingConservationSteadyState,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_MoistureMixingConservationSteadyState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_MoistureMixingConservationSteadyState",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.00104/0.00104, allocations: 105 kB / 16.27 MB, free: 5.953 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.001057/0.001057, allocations: 185.7 kB / 17.19 MB, free: 5.59 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.279/1.279, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7437/0.7437, allocations: 122.9 MB / 413.9 MB, free: 15.82 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00143/0.00143, allocations: 59.91 kB / 0.4912 GB, free: 7.328 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2968/0.2983, allocations: 77.93 MB / 0.5673 GB, free: 32.83 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState): time 0.4842/0.7825, allocations: 221.9 MB / 0.7839 GB, free: 1.625 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01442/0.797, allocations: 13.76 MB / 0.7974 GB, free: 1.438 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001863/0.7988, allocations: 64.72 kB / 0.7974 GB, free: 1.438 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001646/0.8005, allocations: 0.8042 MB / 0.7982 GB, free: 1.426 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.004028/0.8046, allocations: 2.164 MB / 0.8003 GB, free: 1.336 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002484/0.8071, allocations: 1.175 MB / 0.8015 GB, free: 1.309 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002497/0.8096, allocations: 2.881 MB / 0.8043 GB, free: 1.297 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001246/0.8108, allocations: 1.189 MB / 0.8055 GB, free: 1.168 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004718/0.8156, allocations: 2.448 MB / 0.8078 GB, free: 1.109 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001658/0.8172, allocations: 1.026 MB / 0.8089 GB, free: 1.043 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001722/0.8174, allocations: 99.38 kB / 0.8089 GB, free: 1.043 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002648/0.8201, allocations: 1.586 MB / 0.8105 GB, free: 1.027 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003228/0.8204, allocations: 431.6 kB / 0.8109 GB, free: 0.9727 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0005489/0.821, allocations: 0.6793 MB / 0.8116 GB, free: 0.7695 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.002067/0.823, allocations: 2.039 MB / 0.8136 GB, free: 492 kB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.823, allocations: 0.9375 kB / 0.8136 GB, free: 492 kB / 0.5762 GB Notification: Performance of FrontEnd: time 1.182e-06/0.8231, allocations: 0 / 0.8136 GB, free: 492 kB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.517e-05/0.8231, allocations: 0.9062 kB / 0.8136 GB, free: 492 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: 225 * Number of variables: 225 Notification: Performance of Generate backend data structure: time 0.002127/0.8252, allocations: 1.651 MB / 0.8152 GB, free: 15.6 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.364e-05/0.8253, allocations: 8.719 kB / 0.8152 GB, free: 15.6 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001516/0.8254, allocations: 141.3 kB / 0.8153 GB, free: 15.56 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002093/0.8275, allocations: 437.4 kB / 0.8157 GB, free: 15.48 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001186/0.8287, allocations: 0.893 MB / 0.8166 GB, free: 15.11 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009356/0.8297, allocations: 240.4 kB / 0.8168 GB, free: 15.11 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001078/0.8298, allocations: 86.97 kB / 0.8169 GB, free: 15.11 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00186/0.8316, allocations: 1.244 MB / 0.8181 GB, free: 14.75 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.049e-05/0.8317, allocations: 4.906 kB / 0.8181 GB, free: 14.75 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.132e-05/0.8318, allocations: 42.91 kB / 0.8182 GB, free: 14.74 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.523e-05/0.8318, allocations: 33.48 kB / 0.8182 GB, free: 14.74 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001902/0.8337, allocations: 0.902 MB / 0.8191 GB, free: 14.72 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.006046/0.8398, allocations: 6.07 MB / 0.825 GB, free: 10.79 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003865/0.8402, allocations: 263.4 kB / 0.8253 GB, free: 10.64 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001846/0.8404, allocations: 145.9 kB / 0.8254 GB, free: 10.59 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000162/0.8405, allocations: 101.2 kB / 0.8255 GB, free: 10.49 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.698e-05/0.8406, allocations: 39.5 kB / 0.8255 GB, free: 10.45 MB / 0.5919 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005996/0.8412, allocations: 121 kB / 0.8257 GB, free: 10.4 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=20): time 1.954e-06/0.8412, allocations: 0 / 0.8257 GB, free: 10.4 MB / 0.5919 GB Notification: Performance of matching and sorting (n=20): time 0.001116/0.8423, allocations: 479 kB / 0.8261 GB, free: 10.3 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.603e-05/0.8424, allocations: 191.1 kB / 0.8263 GB, free: 10.08 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00172/0.8441, allocations: 1.319 MB / 0.8276 GB, free: 9.707 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.048e-05/0.8442, allocations: 35.42 kB / 0.8276 GB, free: 9.672 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003774/0.8446, allocations: 0.6179 MB / 0.8282 GB, free: 9.371 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 6.08e-05/0.8446, allocations: 82.56 kB / 0.8283 GB, free: 9.316 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000182/0.8448, allocations: 138.6 kB / 0.8284 GB, free: 9.273 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 9.729e-05/0.8449, allocations: 326 kB / 0.8287 GB, free: 8.961 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007231/0.8456, allocations: 254.7 kB / 0.829 GB, free: 8.902 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009129/0.8466, allocations: 0.5833 MB / 0.8296 GB, free: 8.414 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001084/0.8477, allocations: 0.6944 MB / 0.8302 GB, free: 7.969 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.22e-06/0.8477, allocations: 2.938 kB / 0.8302 GB, free: 7.969 MB / 0.5919 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.00195/0.8496, allocations: 0.8845 MB / 0.8311 GB, free: 7.73 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.814e-05/0.8497, allocations: 8.844 kB / 0.8311 GB, free: 7.73 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.563e-05/0.8497, allocations: 18.31 kB / 0.8311 GB, free: 7.723 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.15e-05/0.8497, allocations: 13.91 kB / 0.8311 GB, free: 7.723 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000758/0.8505, allocations: 182.4 kB / 0.8313 GB, free: 7.684 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.783e-05/0.8505, allocations: 20.12 kB / 0.8313 GB, free: 7.684 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00138/0.8519, allocations: 145.7 kB / 0.8315 GB, free: 7.633 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.21e-05/0.852, allocations: 41.11 kB / 0.8315 GB, free: 7.629 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * 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 (69): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003292/0.8523, allocations: 292.1 kB / 0.8318 GB, free: 7.492 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002325/0.8525, allocations: 124.8 kB / 0.8319 GB, free: 7.43 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004443/0.853, allocations: 295.7 kB / 0.8322 GB, free: 7.316 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.197e-06/0.853, allocations: 2.781 kB / 0.8322 GB, free: 7.316 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.853, allocations: 2.812 kB / 0.8322 GB, free: 7.316 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.853, allocations: 2.688 kB / 0.8322 GB, free: 7.316 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001888/0.8549, allocations: 1.678 MB / 0.8338 GB, free: 6.246 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.051e-06/0.8549, allocations: 6.578 kB / 0.8338 GB, free: 6.242 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000211/0.8551, allocations: 39.92 kB / 0.8339 GB, free: 6.238 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.45e-06/0.8552, allocations: 3.594 kB / 0.8339 GB, free: 6.238 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.59e-05/0.8552, allocations: 9.094 kB / 0.8339 GB, free: 6.238 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.827e-06/0.8552, allocations: 2.344 kB / 0.8339 GB, free: 6.238 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.711e-06/0.8552, allocations: 12.06 kB / 0.8339 GB, free: 6.234 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004586/0.8557, allocations: 0.4895 MB / 0.8344 GB, free: 5.906 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002951/0.856, allocations: 231.7 kB / 0.8346 GB, free: 5.723 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001575/0.8561, allocations: 13.8 kB / 0.8346 GB, free: 5.715 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007779/0.8569, allocations: 46.86 kB / 0.8347 GB, free: 5.699 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.938e-05/0.857, allocations: 23.36 kB / 0.8347 GB, free: 5.688 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.849e-05/0.857, allocations: 15.89 kB / 0.8347 GB, free: 5.68 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.001413/0.8584, allocations: 0.9293 MB / 0.8356 GB, free: 5.18 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.9e-07/0.8584, allocations: 0 / 0.8356 GB, free: 5.18 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0008031/0.8592, allocations: 280.9 kB / 0.8359 GB, free: 5.137 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * 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 simulation (20): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001025/0.8603, allocations: 1.143 MB / 0.837 GB, free: 4.176 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001085/0.8614, allocations: 475.7 kB / 0.8374 GB, free: 4 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.8614, allocations: 0 / 0.8374 GB, free: 4 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.000137/0.8615, allocations: 105.2 kB / 0.8375 GB, free: 3.965 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002562/0.8641, allocations: 0.5781 MB / 0.8381 GB, free: 3.684 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01166/0.8758, allocations: 8.765 MB / 0.8467 GB, free: 11.87 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006094/0.8764, allocations: 1.125 MB / 0.8478 GB, free: 10.72 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0008885/0.8773, allocations: 233.6 kB / 0.848 GB, free: 10.49 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004655/0.8778, allocations: 415.3 kB / 0.8484 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of SimCode: time 6.22e-07/0.8778, allocations: 0 / 0.8484 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05119/0.929, allocations: 27.35 MB / 0.8751 GB, free: 15.21 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.493/8.422, allocations: 10.47 kB / 0.8751 GB, free: 15.21 MB / 0.6387 GB (rm -f IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_MoistureMixingConservationSteadyState.fmu > IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState.pipe 2>&1)