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.00111/0.00111, allocations: 103.2 kB / 16.4 MB, free: 6.461 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.00115/0.00115, allocations: 197.8 kB / 17.34 MB, free: 5.715 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.265/1.265, allocations: 222.9 MB / 241 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.779/0.779, allocations: 126.1 MB / 417.3 MB, free: 12.8 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001514/0.001514, allocations: 64.23 kB / 0.5726 GB, free: 27.6 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1414/0.1429, allocations: 78.7 MB / 0.6495 GB, free: 4.566 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState): time 0.5804/0.7234, allocations: 221.9 MB / 0.8662 GB, free: 6.445 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01796/0.7414, allocations: 13.77 MB / 0.8796 GB, free: 8.91 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002389/0.7438, allocations: 63.62 kB / 0.8797 GB, free: 8.848 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.00223/0.7461, allocations: 0.8309 MB / 0.8805 GB, free: 8.012 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.005398/0.7515, allocations: 2.249 MB / 0.8827 GB, free: 5.754 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.002869/0.7544, allocations: 1.187 MB / 0.8838 GB, free: 4.578 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.003772/0.7582, allocations: 2.891 MB / 0.8866 GB, free: 1.676 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001525/0.7598, allocations: 1.191 MB / 0.8878 GB, free: 480 kB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005647/0.7654, allocations: 2.52 MB / 0.8903 GB, free: 13.95 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002097/0.7675, allocations: 1.019 MB / 0.8913 GB, free: 12.95 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0001985/0.7677, allocations: 96 kB / 0.8914 GB, free: 12.86 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003167/0.7709, allocations: 1.602 MB / 0.8929 GB, free: 11.25 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0004599/0.7714, allocations: 442.6 kB / 0.8933 GB, free: 10.82 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0008334/0.7722, allocations: 0.6685 MB / 0.894 GB, free: 10.14 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.003067/0.7753, allocations: 2.082 MB / 0.896 GB, free: 8.055 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/0.7753, allocations: 4 kB / 0.896 GB, free: 8.051 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.864e-06/0.7753, allocations: 0 / 0.896 GB, free: 8.051 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 2.57e-05/0.7754, allocations: 0 / 0.896 GB, free: 8.051 MB / 0.6544 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.002341/0.7777, allocations: 1.703 MB / 0.8977 GB, free: 6.293 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.875e-05/0.7778, allocations: 8.031 kB / 0.8977 GB, free: 6.285 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001401/0.7779, allocations: 143.6 kB / 0.8978 GB, free: 6.137 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00201/0.7799, allocations: 440.8 kB / 0.8983 GB, free: 5.707 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001399/0.7813, allocations: 0.953 MB / 0.8992 GB, free: 4.711 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.939e-05/0.7814, allocations: 70 kB / 0.8993 GB, free: 4.641 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001168/0.7815, allocations: 95.92 kB / 0.8994 GB, free: 4.547 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001891/0.7834, allocations: 1.219 MB / 0.9005 GB, free: 3.211 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.664e-05/0.7835, allocations: 4 kB / 0.9005 GB, free: 3.207 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.85e-05/0.7836, allocations: 43.94 kB / 0.9006 GB, free: 3.164 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.246e-05/0.7836, allocations: 37.3 kB / 0.9006 GB, free: 3.129 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001828/0.7854, allocations: 0.8713 MB / 0.9015 GB, free: 2.258 MB / 0.6544 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.00624/0.7917, allocations: 6.033 MB / 0.9074 GB, free: 11.94 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004042/0.7921, allocations: 259.7 kB / 0.9076 GB, free: 11.63 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001835/0.7923, allocations: 145 kB / 0.9078 GB, free: 11.47 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001619/0.7925, allocations: 101.1 kB / 0.9078 GB, free: 11.35 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.152e-05/0.7925, allocations: 38.5 kB / 0.9079 GB, free: 11.3 MB / 0.67 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006597/0.7932, allocations: 135.2 kB / 0.908 GB, free: 11.17 MB / 0.67 GB Notification: Performance of pre-optimization done (n=20): time 2.094e-06/0.7932, allocations: 0 / 0.908 GB, free: 11.17 MB / 0.67 GB Notification: Performance of matching and sorting (n=20): time 0.001142/0.7943, allocations: 468.9 kB / 0.9085 GB, free: 10.71 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.593e-05/0.7944, allocations: 204.3 kB / 0.9087 GB, free: 10.46 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001744/0.7962, allocations: 1.299 MB / 0.9099 GB, free: 9.148 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 3.43e-05/0.7962, allocations: 29.7 kB / 0.91 GB, free: 9.113 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004359/0.7967, allocations: 0.6373 MB / 0.9106 GB, free: 8.469 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 6.034e-05/0.7967, allocations: 75.38 kB / 0.9106 GB, free: 8.395 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002007/0.797, allocations: 138.1 kB / 0.9108 GB, free: 8.254 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 9.895e-05/0.7971, allocations: 326 kB / 0.9111 GB, free: 7.93 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006154/0.7977, allocations: 240.9 kB / 0.9113 GB, free: 7.695 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008324/0.7985, allocations: 0.5558 MB / 0.9119 GB, free: 6.988 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001023/0.7996, allocations: 0.6966 MB / 0.9125 GB, free: 6.152 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.625e-06/0.7996, allocations: 4 kB / 0.9125 GB, free: 6.148 MB / 0.67 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001814/0.8014, allocations: 0.86 MB / 0.9134 GB, free: 5.281 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.16e-05/0.8014, allocations: 11.94 kB / 0.9134 GB, free: 5.27 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.883e-05/0.8015, allocations: 12.88 kB / 0.9134 GB, free: 5.258 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.352e-05/0.8015, allocations: 12 kB / 0.9134 GB, free: 5.246 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006626/0.8022, allocations: 171.8 kB / 0.9136 GB, free: 5.078 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.264e-05/0.8022, allocations: 31.88 kB / 0.9136 GB, free: 5.047 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001188/0.8034, allocations: 124.7 kB / 0.9137 GB, free: 4.926 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.127e-05/0.8035, allocations: 39.98 kB / 0.9138 GB, free: 4.887 MB / 0.67 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.0003857/0.8038, allocations: 301 kB / 0.9141 GB, free: 4.586 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002372/0.8041, allocations: 123.2 kB / 0.9142 GB, free: 4.465 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004695/0.8046, allocations: 288.3 kB / 0.9145 GB, free: 4.176 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.891e-06/0.8046, allocations: 4 kB / 0.9145 GB, free: 4.172 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.602e-06/0.8046, allocations: 3.938 kB / 0.9145 GB, free: 4.168 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.8046, allocations: 4 kB / 0.9145 GB, free: 4.164 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001958/0.8066, allocations: 1.678 MB / 0.9161 GB, free: 2.383 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-05/0.8066, allocations: 8 kB / 0.9161 GB, free: 2.375 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002032/0.8068, allocations: 39.86 kB / 0.9161 GB, free: 2.336 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.985e-06/0.8068, allocations: 7.984 kB / 0.9162 GB, free: 2.328 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.891e-05/0.8068, allocations: 8 kB / 0.9162 GB, free: 2.32 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.324e-06/0.8068, allocations: 7.938 kB / 0.9162 GB, free: 2.312 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/0.8069, allocations: 4 kB / 0.9162 GB, free: 2.309 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005012/0.8074, allocations: 0.4966 MB / 0.9167 GB, free: 1.758 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003082/0.8077, allocations: 244.2 kB / 0.9169 GB, free: 1.5 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001603/0.8078, allocations: 8 kB / 0.9169 GB, free: 1.492 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006914/0.8085, allocations: 51.94 kB / 0.9169 GB, free: 1.441 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.794e-05/0.8086, allocations: 19.86 kB / 0.917 GB, free: 1.422 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.104e-05/0.8086, allocations: 12 kB / 0.917 GB, free: 1.41 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.001418/0.81, allocations: 0.9081 MB / 0.9179 GB, free: 0.5 MB / 0.67 GB Notification: Performance of sort global known variables: time 2.51e-07/0.8101, allocations: 8 kB / 0.9179 GB, free: 0.4922 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0008745/0.8109, allocations: 283.5 kB / 0.9181 GB, free: 220 kB / 0.67 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.00111/0.8121, allocations: 1.133 MB / 0.9193 GB, free: 15.03 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.001048/0.8131, allocations: 459.3 kB / 0.9197 GB, free: 14.58 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 3.507e-06/0.8131, allocations: 0 / 0.9197 GB, free: 14.58 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0001485/0.8133, allocations: 109.2 kB / 0.9198 GB, free: 14.48 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00256/0.8159, allocations: 0.583 MB / 0.9204 GB, free: 13.91 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01218/0.828, allocations: 8.131 MB / 0.9283 GB, free: 5.289 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007776/0.8289, allocations: 1.118 MB / 0.9294 GB, free: 4.141 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0009185/0.8298, allocations: 237.6 kB / 0.9296 GB, free: 3.906 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005384/0.8304, allocations: 411.3 kB / 0.93 GB, free: 3.504 MB / 0.6856 GB Notification: Performance of SimCode: time 1.052e-06/0.8304, allocations: 3.938 kB / 0.93 GB, free: 3.5 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05455/0.8849, allocations: 27.55 MB / 0.9569 GB, free: 8.375 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.497/10.38, allocations: 7.734 kB / 0.9569 GB, free: 8.367 MB / 0.7169 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)