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.001389/0.001389, allocations: 101.1 kB / 16.4 MB, free: 6.496 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.001486/0.001486, allocations: 192 kB / 17.34 MB, free: 5.727 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.297/1.297, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7459/0.7459, allocations: 122.9 MB / 414.1 MB, free: 15.82 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001222/0.001222, allocations: 64.14 kB / 0.568 GB, free: 28.8 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1397/0.141, allocations: 77.92 MB / 0.6441 GB, free: 9.453 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState): time 0.5497/0.6907, allocations: 221.9 MB / 0.8608 GB, free: 12.7 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01886/0.7096, allocations: 13.76 MB / 0.8742 GB, free: 164 kB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002624/0.7122, allocations: 63.62 kB / 0.8743 GB, free: 100 kB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.002531/0.7148, allocations: 0.831 MB / 0.8751 GB, free: 15.25 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.006155/0.721, allocations: 2.24 MB / 0.8773 GB, free: 13 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.003072/0.7241, allocations: 1.2 MB / 0.8784 GB, free: 11.82 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.003945/0.7281, allocations: 2.893 MB / 0.8813 GB, free: 8.926 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001555/0.7296, allocations: 1.2 MB / 0.8824 GB, free: 7.699 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005633/0.7353, allocations: 2.513 MB / 0.8849 GB, free: 5.184 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00199/0.7373, allocations: 1.021 MB / 0.8859 GB, free: 4.18 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0001915/0.7375, allocations: 100 kB / 0.886 GB, free: 4.082 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002936/0.7404, allocations: 1.606 MB / 0.8875 GB, free: 2.473 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0004038/0.7409, allocations: 430.7 kB / 0.888 GB, free: 2.051 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0007359/0.7416, allocations: 0.6724 MB / 0.8886 GB, free: 1.375 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.002948/0.7445, allocations: 2.086 MB / 0.8906 GB, free: 15.28 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.7446, allocations: 0 / 0.8906 GB, free: 15.28 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.884e-06/0.7446, allocations: 4 kB / 0.8906 GB, free: 15.27 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 2.03e-05/0.7446, allocations: 0 / 0.8906 GB, free: 15.27 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.002398/0.747, allocations: 1.703 MB / 0.8923 GB, free: 13.52 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.086e-05/0.7471, allocations: 8.625 kB / 0.8923 GB, free: 13.51 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001488/0.7472, allocations: 144.4 kB / 0.8925 GB, free: 13.36 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002117/0.7493, allocations: 438.6 kB / 0.8929 GB, free: 12.93 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001452/0.7508, allocations: 0.9568 MB / 0.8938 GB, free: 11.93 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.463e-05/0.7509, allocations: 74 kB / 0.8939 GB, free: 11.86 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001185/0.751, allocations: 88 kB / 0.894 GB, free: 11.77 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001885/0.7529, allocations: 1.211 MB / 0.8951 GB, free: 10.44 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.48e-05/0.7529, allocations: 7.938 kB / 0.8952 GB, free: 10.43 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.698e-05/0.753, allocations: 36 kB / 0.8952 GB, free: 10.4 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.21e-05/0.7531, allocations: 41.3 kB / 0.8952 GB, free: 10.36 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001814/0.7549, allocations: 0.875 MB / 0.8961 GB, free: 9.484 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.006564/0.7615, allocations: 6.034 MB / 0.902 GB, free: 3.168 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004055/0.7619, allocations: 255.7 kB / 0.9022 GB, free: 2.863 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001879/0.7621, allocations: 153 kB / 0.9024 GB, free: 2.695 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001691/0.7623, allocations: 97.08 kB / 0.9025 GB, free: 2.582 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.1e-05/0.7623, allocations: 46.5 kB / 0.9025 GB, free: 2.527 MB / 0.6544 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006665/0.763, allocations: 123.2 kB / 0.9026 GB, free: 2.406 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=20): time 2.645e-06/0.763, allocations: 0 / 0.9026 GB, free: 2.406 MB / 0.6544 GB Notification: Performance of matching and sorting (n=20): time 0.001148/0.7641, allocations: 477.4 kB / 0.9031 GB, free: 1.934 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.396e-05/0.7642, allocations: 191.8 kB / 0.9033 GB, free: 1.703 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001793/0.766, allocations: 1.303 MB / 0.9045 GB, free: 392 kB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 3.269e-05/0.7661, allocations: 29.7 kB / 0.9046 GB, free: 356 kB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.000443/0.7665, allocations: 0.6373 MB / 0.9052 GB, free: 15.7 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 6.648e-05/0.7666, allocations: 83.36 kB / 0.9053 GB, free: 15.62 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002037/0.7668, allocations: 142.1 kB / 0.9054 GB, free: 15.48 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001108/0.7669, allocations: 329.9 kB / 0.9057 GB, free: 15.15 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006304/0.7676, allocations: 237.9 kB / 0.9059 GB, free: 14.92 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008366/0.7684, allocations: 0.5519 MB / 0.9065 GB, free: 14.21 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001039/0.7695, allocations: 0.6962 MB / 0.9072 GB, free: 13.38 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.013e-06/0.7695, allocations: 4 kB / 0.9072 GB, free: 13.37 MB / 0.67 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001884/0.7714, allocations: 0.8537 MB / 0.908 GB, free: 12.51 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.199e-05/0.7714, allocations: 12 kB / 0.908 GB, free: 12.5 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.423e-05/0.7714, allocations: 8 kB / 0.908 GB, free: 12.49 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.453e-05/0.7715, allocations: 23.88 kB / 0.908 GB, free: 12.47 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006911/0.7722, allocations: 168 kB / 0.9082 GB, free: 12.3 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.457e-05/0.7722, allocations: 23.94 kB / 0.9082 GB, free: 12.28 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001304/0.7735, allocations: 135.8 kB / 0.9083 GB, free: 12.15 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.191e-05/0.7736, allocations: 35.98 kB / 0.9084 GB, free: 12.11 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.0004411/0.774, allocations: 302.3 kB / 0.9087 GB, free: 11.81 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002598/0.7743, allocations: 127.2 kB / 0.9088 GB, free: 11.68 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004886/0.7748, allocations: 288.2 kB / 0.9091 GB, free: 11.39 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.392e-06/0.7748, allocations: 8 kB / 0.9091 GB, free: 11.39 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.65e-06/0.7748, allocations: 0 / 0.9091 GB, free: 11.39 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.955e-06/0.7748, allocations: 7.938 kB / 0.9091 GB, free: 11.38 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002166/0.777, allocations: 1.667 MB / 0.9107 GB, free: 9.609 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.823e-06/0.777, allocations: 7.984 kB / 0.9107 GB, free: 9.602 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002225/0.7773, allocations: 35.92 kB / 0.9108 GB, free: 9.566 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.216e-06/0.7773, allocations: 4 kB / 0.9108 GB, free: 9.562 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.844e-05/0.7773, allocations: 8.375 kB / 0.9108 GB, free: 9.555 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.344e-06/0.7773, allocations: 11.94 kB / 0.9108 GB, free: 9.543 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.517e-06/0.7773, allocations: 4 kB / 0.9108 GB, free: 9.539 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005084/0.7778, allocations: 499 kB / 0.9113 GB, free: 8.996 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000351/0.7782, allocations: 244.4 kB / 0.9115 GB, free: 8.738 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001487/0.7783, allocations: 15.98 kB / 0.9115 GB, free: 8.723 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007197/0.7791, allocations: 43.95 kB / 0.9115 GB, free: 8.68 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.494e-05/0.7791, allocations: 31.84 kB / 0.9116 GB, free: 8.648 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.876e-05/0.7792, allocations: 8 kB / 0.9116 GB, free: 8.641 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.001388/0.7805, allocations: 0.9081 MB / 0.9125 GB, free: 7.73 MB / 0.67 GB Notification: Performance of sort global known variables: time 2.4e-07/0.7806, allocations: 0 / 0.9125 GB, free: 7.73 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0009327/0.7815, allocations: 283.6 kB / 0.9127 GB, free: 7.453 MB / 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.001136/0.7826, allocations: 1.147 MB / 0.9139 GB, free: 6.258 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.00103/0.7837, allocations: 457.2 kB / 0.9143 GB, free: 5.812 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 6.733e-06/0.7837, allocations: 4.75 kB / 0.9143 GB, free: 5.809 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0001436/0.7839, allocations: 107.9 kB / 0.9144 GB, free: 5.703 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002571/0.7864, allocations: 0.5774 MB / 0.915 GB, free: 5.141 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01178/0.7982, allocations: 8.149 MB / 0.9229 GB, free: 12.51 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006319/0.7989, allocations: 1.114 MB / 0.924 GB, free: 11.37 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0008351/0.7998, allocations: 241.6 kB / 0.9242 GB, free: 11.13 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005252/0.8003, allocations: 411.3 kB / 0.9246 GB, free: 10.73 MB / 0.6856 GB Notification: Performance of SimCode: time 1.453e-06/0.8003, allocations: 0 / 0.9246 GB, free: 10.73 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05092/0.8512, allocations: 27.55 MB / 0.9515 GB, free: 15.61 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.587/10.44, allocations: 5.625 kB / 0.9515 GB, free: 15.61 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)