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.001355/0.001355, allocations: 107.2 kB / 16.4 MB, free: 6.512 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.001299/0.001299, allocations: 192 kB / 17.34 MB, free: 5.734 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.38/1.38, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8097/0.8097, allocations: 126.7 MB / 417.9 MB, free: 12.25 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001907/0.001907, allocations: 69.41 kB / 0.5736 GB, free: 27.14 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1357/0.1376, allocations: 78.87 MB / 0.6506 GB, free: 3.547 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState): time 0.5323/0.6699, allocations: 222 MB / 0.8674 GB, free: 5.047 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.02023/0.6902, allocations: 13.77 MB / 0.8808 GB, free: 7.324 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002269/0.6925, allocations: 67.62 kB / 0.8809 GB, free: 7.258 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.002297/0.6948, allocations: 0.7957 MB / 0.8817 GB, free: 6.457 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.005688/0.7006, allocations: 2.15 MB / 0.8838 GB, free: 4.297 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.00314/0.7037, allocations: 1.189 MB / 0.8849 GB, free: 3.121 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.004246/0.708, allocations: 2.88 MB / 0.8877 GB, free: 236 kB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001757/0.7097, allocations: 1.202 MB / 0.8889 GB, free: 15.01 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006196/0.716, allocations: 2.603 MB / 0.8914 GB, free: 12.41 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002335/0.7183, allocations: 0.998 MB / 0.8924 GB, free: 11.43 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0002493/0.7186, allocations: 100 kB / 0.8925 GB, free: 11.33 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003149/0.7217, allocations: 1.578 MB / 0.8941 GB, free: 9.75 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.000488/0.7222, allocations: 426.7 kB / 0.8945 GB, free: 9.332 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0009027/0.7231, allocations: 0.6918 MB / 0.8951 GB, free: 8.637 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.003485/0.7266, allocations: 2.082 MB / 0.8972 GB, free: 6.547 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.051e-06/0.7267, allocations: 4 kB / 0.8972 GB, free: 6.543 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.463e-06/0.7267, allocations: 0 / 0.8972 GB, free: 6.543 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 2.17e-05/0.7267, allocations: 0 / 0.8972 GB, free: 6.543 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.002719/0.7294, allocations: 1.695 MB / 0.8988 GB, free: 4.793 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.988e-05/0.7295, allocations: 16.03 kB / 0.8988 GB, free: 4.777 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000171/0.7296, allocations: 139.6 kB / 0.899 GB, free: 4.633 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002199/0.7319, allocations: 430.7 kB / 0.8994 GB, free: 4.211 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001614/0.7335, allocations: 0.9646 MB / 0.9003 GB, free: 3.203 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.872e-05/0.7336, allocations: 70 kB / 0.9004 GB, free: 3.133 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001225/0.7337, allocations: 87.94 kB / 0.9005 GB, free: 3.047 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002191/0.7359, allocations: 1.227 MB / 0.9017 GB, free: 1.703 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.478e-05/0.7359, allocations: 3.938 kB / 0.9017 GB, free: 1.699 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.003e-05/0.736, allocations: 40 kB / 0.9017 GB, free: 1.66 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.541e-05/0.7361, allocations: 33.31 kB / 0.9018 GB, free: 1.629 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002007/0.7381, allocations: 0.8829 MB / 0.9026 GB, free: 0.7461 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.007652/0.7458, allocations: 6.269 MB / 0.9087 GB, free: 10.14 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000471/0.7463, allocations: 256.5 kB / 0.909 GB, free: 9.832 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002234/0.7465, allocations: 149.1 kB / 0.9091 GB, free: 9.668 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001917/0.7467, allocations: 97.09 kB / 0.9092 GB, free: 9.555 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.745e-05/0.7468, allocations: 42.5 kB / 0.9093 GB, free: 9.504 MB / 0.67 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006717/0.7474, allocations: 111.3 kB / 0.9094 GB, free: 9.395 MB / 0.67 GB Notification: Performance of pre-optimization done (n=20): time 2.385e-06/0.7474, allocations: 4 kB / 0.9094 GB, free: 9.391 MB / 0.67 GB Notification: Performance of matching and sorting (n=20): time 0.001232/0.7487, allocations: 484.6 kB / 0.9098 GB, free: 8.91 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001142/0.7488, allocations: 188.4 kB / 0.91 GB, free: 8.684 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002067/0.7509, allocations: 1.311 MB / 0.9113 GB, free: 7.355 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 4.347e-05/0.7509, allocations: 29.7 kB / 0.9113 GB, free: 7.32 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005696/0.7515, allocations: 0.6334 MB / 0.9119 GB, free: 6.68 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 8.907e-05/0.7516, allocations: 79.41 kB / 0.912 GB, free: 6.602 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002287/0.7518, allocations: 142.1 kB / 0.9122 GB, free: 6.457 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001658/0.752, allocations: 326 kB / 0.9125 GB, free: 6.133 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007007/0.7527, allocations: 240.9 kB / 0.9127 GB, free: 5.898 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009682/0.7537, allocations: 0.5519 MB / 0.9132 GB, free: 5.191 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001212/0.7549, allocations: 0.6921 MB / 0.9139 GB, free: 4.359 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.128e-05/0.7549, allocations: 4 kB / 0.9139 GB, free: 4.355 MB / 0.67 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.002191/0.7571, allocations: 0.8641 MB / 0.9148 GB, free: 3.484 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.447e-05/0.7572, allocations: 8 kB / 0.9148 GB, free: 3.477 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.717e-05/0.7572, allocations: 12 kB / 0.9148 GB, free: 3.465 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.917e-05/0.7572, allocations: 12 kB / 0.9148 GB, free: 3.453 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00072/0.758, allocations: 172.4 kB / 0.9149 GB, free: 3.285 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.777e-05/0.758, allocations: 27.86 kB / 0.915 GB, free: 3.258 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001374/0.7594, allocations: 120.9 kB / 0.9151 GB, free: 3.141 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.45e-05/0.7595, allocations: 43.98 kB / 0.9151 GB, free: 3.098 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.0005151/0.76, allocations: 297.5 kB / 0.9154 GB, free: 2.797 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002605/0.7603, allocations: 127.2 kB / 0.9155 GB, free: 2.672 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005658/0.7608, allocations: 288.8 kB / 0.9158 GB, free: 2.379 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.834e-06/0.7609, allocations: 4 kB / 0.9158 GB, free: 2.375 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.423e-06/0.7609, allocations: 3.938 kB / 0.9158 GB, free: 2.371 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.482e-06/0.7609, allocations: 4 kB / 0.9158 GB, free: 2.367 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002323/0.7632, allocations: 1.678 MB / 0.9175 GB, free: 0.5859 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.865e-06/0.7632, allocations: 12.06 kB / 0.9175 GB, free: 0.5742 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002139/0.7634, allocations: 43.86 kB / 0.9175 GB, free: 0.5312 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.963e-06/0.7635, allocations: 4 kB / 0.9175 GB, free: 0.5273 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.684e-05/0.7635, allocations: 4 kB / 0.9175 GB, free: 0.5234 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.4e-06/0.7635, allocations: 4 kB / 0.9175 GB, free: 0.5195 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.841e-06/0.7635, allocations: 4 kB / 0.9175 GB, free: 0.5156 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006206/0.7641, allocations: 0.501 MB / 0.918 GB, free: 15.96 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003445/0.7645, allocations: 240.2 kB / 0.9183 GB, free: 15.71 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001446/0.7646, allocations: 8 kB / 0.9183 GB, free: 15.7 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006964/0.7653, allocations: 47.95 kB / 0.9183 GB, free: 15.65 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.755e-05/0.7654, allocations: 23.86 kB / 0.9183 GB, free: 15.63 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.443e-05/0.7654, allocations: 11.98 kB / 0.9183 GB, free: 15.62 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.001575/0.767, allocations: 0.9081 MB / 0.9192 GB, free: 14.71 MB / 0.6856 GB Notification: Performance of sort global known variables: time 3.61e-07/0.767, allocations: 0 / 0.9192 GB, free: 14.71 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0008805/0.7679, allocations: 283.6 kB / 0.9195 GB, free: 14.43 MB / 0.6856 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.00133/0.7692, allocations: 1.149 MB / 0.9206 GB, free: 13.23 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.001056/0.7703, allocations: 463.7 kB / 0.9211 GB, free: 12.78 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 2.975e-06/0.7703, allocations: 3.938 kB / 0.9211 GB, free: 12.77 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0001553/0.7705, allocations: 95.83 kB / 0.9212 GB, free: 12.68 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002574/0.7731, allocations: 0.5872 MB / 0.9217 GB, free: 12.11 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0131/0.7862, allocations: 8.127 MB / 0.9297 GB, free: 3.492 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008207/0.787, allocations: 1.118 MB / 0.9308 GB, free: 2.344 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.00082/0.7879, allocations: 233.6 kB / 0.931 GB, free: 2.113 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005378/0.7884, allocations: 419.3 kB / 0.9314 GB, free: 1.703 MB / 0.6856 GB Notification: Performance of SimCode: time 6.01e-07/0.7884, allocations: 0 / 0.9314 GB, free: 1.703 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06109/0.8495, allocations: 27.54 MB / 0.9583 GB, free: 6.582 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.539/10.39, allocations: 9.719 kB / 0.9583 GB, free: 6.578 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)