Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.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.Examples.MixingVolumeMoistAir,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_MixingVolumes_Examples_MixingVolumeMoistAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_MixingVolumes_Examples_MixingVolumeMoistAir",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.0007483/0.0007483, allocations: 92.17 kB / 16.02 MB, free: 84 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000786/0.000786, allocations: 185.4 kB / 16.92 MB, free: 6.934 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.289/1.289, allocations: 223.3 MB / 241 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6802/0.6802, allocations: 115.5 MB / 407.6 MB, free: 2.699 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002825/0.0002825, allocations: 8 kB / 495.9 MB, free: 6.25 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.127/0.1273, allocations: 77.53 MB / 0.56 GB, free: 8.926 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir): time 0.4474/0.5747, allocations: 193.9 MB / 0.7494 GB, free: 4.57 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01419/0.5889, allocations: 10.31 MB / 0.7595 GB, free: 10.22 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001682/0.5906, allocations: 51.69 kB / 0.7595 GB, free: 10.17 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001579/0.5922, allocations: 473.1 kB / 0.76 GB, free: 9.707 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.00492/0.5972, allocations: 1.836 MB / 0.7618 GB, free: 7.863 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003364/0.6006, allocations: 1.247 MB / 0.763 GB, free: 6.629 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.004214/0.6048, allocations: 3.67 MB / 0.7666 GB, free: 2.949 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001611/0.6064, allocations: 0.9852 MB / 0.7675 GB, free: 1.93 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004018/0.6104, allocations: 1.46 MB / 0.769 GB, free: 488 kB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001861/0.6123, allocations: 0.9187 MB / 0.7699 GB, free: 15.56 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0002177/0.6126, allocations: 52 kB / 0.7699 GB, free: 15.51 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003987/0.6166, allocations: 2.377 MB / 0.7722 GB, free: 13.12 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0004583/0.617, allocations: 338.7 kB / 0.7726 GB, free: 12.79 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0009518/0.618, allocations: 0.6425 MB / 0.7732 GB, free: 12.14 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.003911/0.6219, allocations: 2.496 MB / 0.7756 GB, free: 9.637 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.6219, allocations: 0 / 0.7756 GB, free: 9.637 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.523e-06/0.6219, allocations: 3.938 kB / 0.7756 GB, free: 9.633 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 4.826e-05/0.622, allocations: 0 / 0.7756 GB, free: 9.633 MB / 0.5919 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.002743/0.6247, allocations: 1.57 MB / 0.7772 GB, free: 8.012 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.725e-05/0.6248, allocations: 8.031 kB / 0.7772 GB, free: 8.004 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002283/0.625, allocations: 160.3 kB / 0.7773 GB, free: 7.84 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002142/0.6272, allocations: 369.8 kB / 0.7777 GB, free: 7.477 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001582/0.6288, allocations: 0.909 MB / 0.7786 GB, free: 6.523 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.55e-05/0.6288, allocations: 85.94 kB / 0.7786 GB, free: 6.438 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00015/0.629, allocations: 107.9 kB / 0.7787 GB, free: 6.332 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001763/0.6308, allocations: 1.107 MB / 0.7798 GB, free: 5.168 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.632e-05/0.6308, allocations: 4 kB / 0.7798 GB, free: 5.164 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.897e-05/0.6309, allocations: 40 kB / 0.7799 GB, free: 5.125 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.122e-05/0.6309, allocations: 38 kB / 0.7799 GB, free: 5.086 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001504/0.6325, allocations: 0.8118 MB / 0.7807 GB, free: 4.277 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.005812/0.6383, allocations: 5.09 MB / 0.7857 GB, free: 14.83 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001257/0.6395, allocations: 0.6923 MB / 0.7863 GB, free: 14.14 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005878/0.6401, allocations: 354.4 kB / 0.7867 GB, free: 13.79 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006316/0.6408, allocations: 327.9 kB / 0.787 GB, free: 13.41 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.45e-05/0.6408, allocations: 39.12 kB / 0.787 GB, free: 13.36 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=70): time 1.934e-06/0.6408, allocations: 0 / 0.787 GB, free: 13.36 MB / 0.6075 GB Notification: Performance of matching and sorting (n=70): time 0.001895/0.6427, allocations: 0.9427 MB / 0.7879 GB, free: 12.42 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.679e-05/0.6428, allocations: 59.97 kB / 0.788 GB, free: 12.35 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001055/0.6439, allocations: 0.8763 MB / 0.7889 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 6.287e-05/0.6439, allocations: 41.7 kB / 0.7889 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.000393/0.6443, allocations: 0.5584 MB / 0.7894 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001992/0.6445, allocations: 248.3 kB / 0.7897 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.123e-05/0.6446, allocations: 73.67 kB / 0.7897 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001108/0.6447, allocations: 338 kB / 0.7901 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004622/0.6452, allocations: 249.9 kB / 0.7903 GB, free: 9.938 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005832/0.6458, allocations: 443.1 kB / 0.7907 GB, free: 9.434 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00109/0.6469, allocations: 0.7092 MB / 0.7914 GB, free: 8.656 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.48e-06/0.6469, allocations: 4 kB / 0.7914 GB, free: 8.652 MB / 0.6075 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.001395/0.6483, allocations: 0.8354 MB / 0.7922 GB, free: 7.809 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001309/0.6485, allocations: 225.7 kB / 0.7925 GB, free: 7.52 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.019e-05/0.6485, allocations: 4 kB / 0.7925 GB, free: 7.516 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.118e-05/0.6485, allocations: 12 kB / 0.7925 GB, free: 7.504 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001543/0.6501, allocations: 251.6 kB / 0.7927 GB, free: 7.258 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001302/0.6514, allocations: 1.405 MB / 0.7941 GB, free: 5.715 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008543/0.6522, allocations: 123.9 kB / 0.7942 GB, free: 5.594 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.756e-05/0.6523, allocations: 40.05 kB / 0.7942 GB, free: 5.555 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 7.313e-06/0.6523, allocations: 5.719 kB / 0.7942 GB, free: 5.551 MB / 0.6075 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001236/0.6536, allocations: 0.706 MB / 0.7949 GB, free: 4.844 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.765e-06/0.6536, allocations: 8 kB / 0.7949 GB, free: 4.836 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.248e-06/0.6536, allocations: 8 kB / 0.795 GB, free: 4.828 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001465/0.6551, allocations: 248.3 kB / 0.7952 GB, free: 4.586 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00118/0.6563, allocations: 1.393 MB / 0.7966 GB, free: 3.059 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008234/0.6571, allocations: 120.7 kB / 0.7967 GB, free: 2.941 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.798e-05/0.6572, allocations: 36 kB / 0.7967 GB, free: 2.906 MB / 0.6075 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 (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004365/0.6576, allocations: 368.8 kB / 0.7971 GB, free: 2.535 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000155/0.6578, allocations: 114.6 kB / 0.7972 GB, free: 2.422 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001649/0.6594, allocations: 0.798 MB / 0.7979 GB, free: 1.613 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.565e-06/0.6594, allocations: 8 kB / 0.7979 GB, free: 1.605 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.244e-06/0.6595, allocations: 0 / 0.7979 GB, free: 1.605 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001295/0.6608, allocations: 0.704 MB / 0.7986 GB, free: 0.8672 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0031/0.6639, allocations: 1.934 MB / 0.8005 GB, free: 14.85 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.938e-06/0.6639, allocations: 0 / 0.8005 GB, free: 14.85 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006968/0.6646, allocations: 147.8 kB / 0.8007 GB, free: 14.71 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004058/0.665, allocations: 45.14 kB / 0.8007 GB, free: 14.66 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.062e-05/0.6651, allocations: 19.94 kB / 0.8007 GB, free: 14.64 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00118/0.6663, allocations: 1.352 MB / 0.802 GB, free: 13.15 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/0.6663, allocations: 3.938 kB / 0.8021 GB, free: 13.15 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002056/0.6683, allocations: 1.234 MB / 0.8033 GB, free: 11.88 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003494/0.6687, allocations: 255.6 kB / 0.8035 GB, free: 11.61 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000115/0.6688, allocations: 16 kB / 0.8035 GB, free: 11.59 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006626/0.6695, allocations: 63.73 kB / 0.8036 GB, free: 11.53 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.07e-05/0.6696, allocations: 52.44 kB / 0.8036 GB, free: 11.47 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.24e-05/0.6696, allocations: 24 kB / 0.8036 GB, free: 11.45 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0007143/0.6704, allocations: 0.5967 MB / 0.8042 GB, free: 10.84 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.6e-07/0.6704, allocations: 0 / 0.8042 GB, free: 10.84 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001258/0.6716, allocations: 0.5297 MB / 0.8047 GB, free: 10.31 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 7 (vol1.dynBal.medium.Xi[1],vol1.dynBal.U,vol1.dynBal.m,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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002772/0.6744, allocations: 1.87 MB / 0.8066 GB, free: 8.402 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.00356/0.678, allocations: 1.193 MB / 0.8077 GB, free: 7.211 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 4.889e-06/0.678, allocations: 7.938 kB / 0.8077 GB, free: 7.203 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0007334/0.6787, allocations: 450.7 kB / 0.8082 GB, free: 6.75 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002655/0.6814, allocations: 0.5016 MB / 0.8087 GB, free: 6.262 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0123/0.6937, allocations: 9.007 MB / 0.8175 GB, free: 12.8 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007478/0.6945, allocations: 1.144 MB / 0.8186 GB, free: 11.63 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001037/0.6955, allocations: 277.1 kB / 0.8188 GB, free: 11.36 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005924/0.6961, allocations: 459.3 kB / 0.8193 GB, free: 10.91 MB / 0.6387 GB Notification: Performance of SimCode: time 1.342e-06/0.6961, allocations: 0 / 0.8193 GB, free: 10.91 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2758/0.9719, allocations: 25.97 MB / 0.8446 GB, free: 224 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001465/0.9721, allocations: 278.3 kB / 0.8449 GB, free: 223.6 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.385/3.357, allocations: 0 / 0.8449 GB, free: 223.6 MB / 0.6387 GB (rm -f IBPSA_latest_IBPSA.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_MixingVolumes_Examples_MixingVolumeMoistAir_fmu --startTime=0 --stopTime=600 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_MixingVolumes_Examples_MixingVolumeMoistAir.fmu > IBPSA_latest_IBPSA.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe 2>&1)