Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_MixingVolumes_Examples_MixingVolumeMoistAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_MixingVolumes_Examples_MixingVolumeMoistAir",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.78/2.78, allocations: 287.3 MB / 302.3 MB, free: 8.305 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001733/0.001732, allocations: 188.7 kB / 370.8 MB, free: 10.88 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.241/2.241, allocations: 205.4 MB / 0.6295 GB, free: 10.6 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001149/0.001149, allocations: 92.34 kB / 0.7428 GB, free: 6.605 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004858/0.0004861, allocations: 12.34 kB / 0.8657 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2523/0.2528, allocations: 115.3 MB / 0.9783 GB, free: 28.31 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir): time 1.032/1.285, allocations: 164.9 MB / 1.139 GB, free: 15 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.02167/1.307, allocations: 9.294 MB / 1.148 GB, free: 10.66 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002654/1.31, allocations: 47.19 kB / 1.148 GB, free: 10.64 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.003124/1.313, allocations: 0.5226 MB / 1.149 GB, free: 10.33 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.009388/1.322, allocations: 1.693 MB / 1.151 GB, free: 8.957 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.007065/1.329, allocations: 1.363 MB / 1.152 GB, free: 7.992 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.005299/1.335, allocations: 1.66 MB / 1.154 GB, free: 6.906 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00257/1.337, allocations: 0.8795 MB / 1.154 GB, free: 6.359 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00481/1.342, allocations: 1.181 MB / 1.156 GB, free: 5.602 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002205/1.345, allocations: 0.6452 MB / 1.156 GB, free: 5.207 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0004135/1.345, allocations: 46.47 kB / 1.156 GB, free: 5.207 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004831/1.35, allocations: 1.057 MB / 1.157 GB, free: 4.73 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0009493/1.351, allocations: 310.8 kB / 1.158 GB, free: 4.535 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0007829/1.352, allocations: 276.8 kB / 1.158 GB, free: 4.375 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.004386/1.356, allocations: 1.516 MB / 1.159 GB, free: 3.371 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/1.356, allocations: 1.219 kB / 1.159 GB, free: 3.371 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.577e-06/1.356, allocations: 0 / 1.159 GB, free: 3.371 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.892e-05/1.356, allocations: 0 / 1.159 GB, free: 3.371 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 253 * Number of variables: 253 Notification: Performance of Generate backend data structure: time 0.00506/1.361, allocations: 1.542 MB / 1.161 GB, free: 2.203 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.527e-05/1.361, allocations: 8.75 kB / 1.161 GB, free: 2.203 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005196/1.362, allocations: 155.4 kB / 1.161 GB, free: 2.078 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003481/1.365, allocations: 372.1 kB / 1.161 GB, free: 1.914 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003133/1.369, allocations: 0.8733 MB / 1.162 GB, free: 1.238 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001047/1.369, allocations: 81.38 kB / 1.162 GB, free: 1.199 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002669/1.369, allocations: 103.6 kB / 1.162 GB, free: 1.164 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003114/1.372, allocations: 1.09 MB / 1.163 GB, free: 460 kB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.092e-05/1.372, allocations: 5.125 kB / 1.163 GB, free: 456 kB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001549/1.372, allocations: 42.09 kB / 1.163 GB, free: 424 kB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.416e-05/1.373, allocations: 39.83 kB / 1.163 GB, free: 416 kB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00273/1.375, allocations: 0.7926 MB / 1.164 GB, free: 24 kB / 0.698 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.01111/1.386, allocations: 5.082 MB / 1.169 GB, free: 11.57 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002424/1.389, allocations: 0.719 MB / 1.17 GB, free: 11.18 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006995/1.39, allocations: 138.3 kB / 1.17 GB, free: 11.07 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.232e-05/1.39, allocations: 49.94 kB / 1.17 GB, free: 11.02 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=70): time 4.008e-06/1.39, allocations: 0 / 1.17 GB, free: 11.02 MB / 0.7136 GB Notification: Performance of matching and sorting (n=70): time 0.003429/1.393, allocations: 0.9332 MB / 1.171 GB, free: 10.57 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.066e-05/1.393, allocations: 63.77 kB / 1.171 GB, free: 10.5 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001727/1.395, allocations: 0.8611 MB / 1.172 GB, free: 10.01 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0001882/1.395, allocations: 42.33 kB / 1.172 GB, free: 9.965 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006504/1.396, allocations: 0.5593 MB / 1.173 GB, free: 9.469 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003916/1.396, allocations: 245 kB / 1.173 GB, free: 9.254 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.632e-05/1.396, allocations: 14.41 kB / 1.173 GB, free: 9.242 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001777/1.397, allocations: 338.3 kB / 1.173 GB, free: 8.914 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008213/1.397, allocations: 245.7 kB / 1.173 GB, free: 8.797 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001029/1.398, allocations: 446.3 kB / 1.174 GB, free: 8.438 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000955/1.399, allocations: 298.6 kB / 1.174 GB, free: 8.289 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.077e-05/1.399, allocations: 6.766 kB / 1.174 GB, free: 8.285 MB / 0.7136 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.00251/1.402, allocations: 0.8241 MB / 1.175 GB, free: 7.863 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009466/1.403, allocations: 1.843 MB / 1.177 GB, free: 5.898 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.93e-05/1.403, allocations: 5.719 kB / 1.177 GB, free: 5.898 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.696e-05/1.403, allocations: 14.03 kB / 1.177 GB, free: 5.895 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003054/1.406, allocations: 252.2 kB / 1.177 GB, free: 5.832 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002149/1.408, allocations: 1.399 MB / 1.178 GB, free: 4.379 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001776/1.41, allocations: 110.9 kB / 1.178 GB, free: 4.312 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001571/1.41, allocations: 36.05 kB / 1.178 GB, free: 4.301 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.918e-05/1.41, allocations: 8.906 kB / 1.178 GB, free: 4.297 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004123/1.415, allocations: 0.7003 MB / 1.179 GB, free: 3.953 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.669e-05/1.415, allocations: 5.219 kB / 1.179 GB, free: 3.953 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.519e-05/1.415, allocations: 7.812 kB / 1.179 GB, free: 3.953 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004668/1.419, allocations: 245.7 kB / 1.179 GB, free: 3.898 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003525/1.423, allocations: 1.417 MB / 1.181 GB, free: 2.43 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002735/1.426, allocations: 104.4 kB / 1.181 GB, free: 2.367 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002699/1.426, allocations: 32.3 kB / 1.181 GB, free: 2.359 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 4 (PI1.I.trigger_internal,PI.I.trigger_internal,QLat.local_reset,QSen.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (94): * Single equations (assignments): 93 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001385/1.428, allocations: 362.8 kB / 1.181 GB, free: 2.062 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005592/1.428, allocations: 112.7 kB / 1.181 GB, free: 2.004 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002898/1.431, allocations: 0.7921 MB / 1.182 GB, free: 1.535 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.324e-05/1.431, allocations: 11.19 kB / 1.182 GB, free: 1.531 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.539e-06/1.431, allocations: 0 / 1.182 GB, free: 1.531 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002207/1.433, allocations: 0.7018 MB / 1.183 GB, free: 1.094 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00556/1.439, allocations: 1.927 MB / 1.185 GB, free: 15.77 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.234e-06/1.439, allocations: 2.562 kB / 1.185 GB, free: 15.77 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00137/1.44, allocations: 146.1 kB / 1.185 GB, free: 15.73 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006554/1.441, allocations: 40.08 kB / 1.185 GB, free: 15.71 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.827e-05/1.441, allocations: 19.39 kB / 1.185 GB, free: 15.7 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00185/1.443, allocations: 1.364 MB / 1.186 GB, free: 14.29 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.681e-06/1.443, allocations: 6.859 kB / 1.186 GB, free: 14.29 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003742/1.447, allocations: 1.33 MB / 1.188 GB, free: 13.42 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007263/1.448, allocations: 254.6 kB / 1.188 GB, free: 13.2 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001922/1.448, allocations: 18 kB / 1.188 GB, free: 13.19 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001133/1.449, allocations: 59.47 kB / 1.188 GB, free: 13.16 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001476/1.449, allocations: 45.95 kB / 1.188 GB, free: 13.14 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.852e-05/1.449, allocations: 25.95 kB / 1.188 GB, free: 13.13 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.001136/1.45, allocations: 0.5866 MB / 1.188 GB, free: 12.78 MB / 0.7292 GB Notification: Performance of sort global known variables: time 3.41e-07/1.45, allocations: 3.094 kB / 1.188 GB, free: 12.78 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.002006/1.452, allocations: 0.5291 MB / 1.189 GB, free: 12.66 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 7 (vol1.dynBal.U,vol1.dynBal.m,vol1.dynBal.mXi[1],QSen.y,QLat.y,PI.I.y,PI1.I.y) * 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 (70): * 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: 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 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.004752/1.457, allocations: 2.472 MB / 1.191 GB, free: 10.73 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.005972/1.463, allocations: 1.177 MB / 1.193 GB, free: 10.24 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 7.054e-06/1.463, allocations: 0 / 1.193 GB, free: 10.24 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.001288/1.464, allocations: 445.3 kB / 1.193 GB, free: 9.973 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004176/1.469, allocations: 0.4959 MB / 1.193 GB, free: 9.723 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01852/1.487, allocations: 9.546 MB / 1.203 GB, free: 1.691 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001096/1.488, allocations: 1.171 MB / 1.204 GB, free: 496 kB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.001916/1.49, allocations: 272.8 kB / 1.204 GB, free: 220 kB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009992/1.491, allocations: 459.3 kB / 1.205 GB, free: 15.77 MB / 0.7448 GB Notification: Performance of SimCode: time 1.283e-06/1.491, allocations: 0 / 1.205 GB, free: 15.77 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09172/1.583, allocations: 26.68 MB / 1.231 GB, free: 5.453 MB / 0.7605 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004779/1.584, allocations: 259.4 kB / 1.231 GB, free: 5.098 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.675/5.259, allocations: 0 / 1.231 GB, free: 5.098 MB / 0.7605 GB (rm -f Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_MixingVolumes_Examples_MixingVolumeMoistAir_fmu --startTime=0 --stopTime=600 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_MixingVolumes_Examples_MixingVolumeMoistAir.fmu > Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe 2>&1)