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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001055/0.001055, allocations: 179.4 kB / 13.19 MB, free: 2.133 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4804/0.4804, allocations: 90.8 MB / 104.5 MB, free: 9.785 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.399/1.399, allocations: 221.3 MB / 348.3 MB, free: 428 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009482/0.0009482, allocations: 95.38 kB / 421.2 MB, free: 5.445 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 3.791e-05/3.804e-05, allocations: 4 kB / 0.4897 GB, free: 5.242 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4216/0.4216, allocations: 72.3 MB / 0.5603 GB, free: 40.4 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.099/5.521, allocations: 1.924 GB / 2.484 GB, free: 49.17 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002683/5.521, allocations: 87.39 kB / 2.484 GB, free: 49.12 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.58/8.101, allocations: 0.63 GB / 3.114 GB, free: 96.22 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.513e-06/8.101, allocations: 0 / 3.114 GB, free: 96.22 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0001985/8.101, allocations: 38.3 kB / 3.115 GB, free: 96.21 MB / 0.6042 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.00429/8.106, allocations: 1.579 MB / 3.116 GB, free: 95.38 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.528e-05/8.106, allocations: 13.48 kB / 3.116 GB, free: 95.38 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004088/8.106, allocations: 157.7 kB / 3.116 GB, free: 95.34 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002497/8.109, allocations: 364.8 kB / 3.117 GB, free: 95.26 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003526/8.112, allocations: 1.224 MB / 3.118 GB, free: 94.88 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.952e-05/8.112, allocations: 80.62 kB / 3.118 GB, free: 94.88 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002915/8.112, allocations: 107.2 kB / 3.118 GB, free: 94.86 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0021/8.115, allocations: 1.082 MB / 3.119 GB, free: 94.31 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.344e-05/8.115, allocations: 0 / 3.119 GB, free: 94.31 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001145/8.115, allocations: 43.31 kB / 3.119 GB, free: 94.28 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.05e-05/8.115, allocations: 39.7 kB / 3.119 GB, free: 94.27 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001574/8.116, allocations: 0.7629 MB / 3.12 GB, free: 93.98 MB / 0.6042 GB Warning: The model contains alias variables with conflicting start and/or 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.006585/8.123, allocations: 5.148 MB / 3.125 GB, free: 89.66 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009234/8.124, allocations: 0.6473 MB / 3.125 GB, free: 89.07 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004288/8.124, allocations: 331.3 kB / 3.126 GB, free: 88.74 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005135/8.125, allocations: 306.5 kB / 3.126 GB, free: 88.39 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.01e-05/8.125, allocations: 45.72 kB / 3.126 GB, free: 88.34 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=70): time 4.067e-06/8.125, allocations: 3.938 kB / 3.126 GB, free: 88.34 MB / 0.6042 GB Notification: Performance of matching and sorting (n=70): time 0.001412/8.126, allocations: 0.7007 MB / 3.127 GB, free: 87.63 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.273e-05/8.126, allocations: 164.9 kB / 3.127 GB, free: 87.43 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009885/8.127, allocations: 0.7533 MB / 3.128 GB, free: 86.66 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 8.204e-05/8.128, allocations: 41.7 kB / 3.128 GB, free: 86.62 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003446/8.128, allocations: 0.5599 MB / 3.128 GB, free: 86.05 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001906/8.128, allocations: 252.1 kB / 3.129 GB, free: 85.81 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.329e-05/8.128, allocations: 11.25 kB / 3.129 GB, free: 85.8 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.644e-05/8.128, allocations: 334 kB / 3.129 GB, free: 85.47 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003758/8.129, allocations: 245.5 kB / 3.129 GB, free: 85.23 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005117/8.129, allocations: 469.1 kB / 3.13 GB, free: 84.68 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004911/8.13, allocations: 308.5 kB / 3.13 GB, free: 84.39 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.63e-06/8.13, allocations: 4 kB / 3.13 GB, free: 84.39 MB / 0.6042 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001206/8.131, allocations: 0.8068 MB / 3.131 GB, free: 83.58 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003695/8.131, allocations: 1.677 MB / 3.132 GB, free: 81.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.217e-05/8.131, allocations: 12 kB / 3.132 GB, free: 81.79 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.017e-05/8.131, allocations: 8 kB / 3.132 GB, free: 81.78 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001492/8.133, allocations: 257.8 kB / 3.133 GB, free: 81.54 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001065/8.134, allocations: 1.4 MB / 3.134 GB, free: 80 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001059/8.135, allocations: 137.8 kB / 3.134 GB, free: 79.88 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.287e-05/8.135, allocations: 35.98 kB / 3.134 GB, free: 79.84 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.116e-05/8.135, allocations: 6.625 kB / 3.134 GB, free: 79.84 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009859/8.136, allocations: 0.6814 MB / 3.135 GB, free: 79.16 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.538e-06/8.136, allocations: 8 kB / 3.135 GB, free: 79.15 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.568e-06/8.136, allocations: 8 kB / 3.135 GB, free: 79.14 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001385/8.137, allocations: 258.1 kB / 3.135 GB, free: 78.89 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009039/8.138, allocations: 1.411 MB / 3.136 GB, free: 77.36 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001053/8.139, allocations: 129.1 kB / 3.136 GB, free: 77.23 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.923e-05/8.14, allocations: 31.98 kB / 3.137 GB, free: 77.2 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (92): * Single equations (assignments): 91 * 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.0002039/8.14, allocations: 155.4 kB / 3.137 GB, free: 77.05 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001975/8.14, allocations: 114.6 kB / 3.137 GB, free: 76.94 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001565/8.141, allocations: 0.8003 MB / 3.138 GB, free: 76.13 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.803e-06/8.142, allocations: 8 kB / 3.138 GB, free: 76.12 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.495e-06/8.142, allocations: 0 / 3.138 GB, free: 76.12 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00104/8.143, allocations: 0.7018 MB / 3.138 GB, free: 75.39 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003237/8.146, allocations: 1.958 MB / 3.14 GB, free: 73.37 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.57e-06/8.146, allocations: 4 kB / 3.14 GB, free: 73.37 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006852/8.147, allocations: 147.8 kB / 3.14 GB, free: 73.22 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003949/8.147, allocations: 48.44 kB / 3.14 GB, free: 73.18 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.207e-05/8.147, allocations: 20 kB / 3.14 GB, free: 73.16 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001069/8.148, allocations: 1.376 MB / 3.142 GB, free: 71.64 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.497e-06/8.148, allocations: 6.719 kB / 3.142 GB, free: 71.64 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001747/8.15, allocations: 1.307 MB / 3.143 GB, free: 70.26 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004997/8.15, allocations: 271.4 kB / 3.143 GB, free: 69.98 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001715/8.151, allocations: 19.3 kB / 3.143 GB, free: 69.96 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008097/8.151, allocations: 74.84 kB / 3.143 GB, free: 69.89 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.645e-05/8.151, allocations: 54.86 kB / 3.143 GB, free: 69.84 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.37e-05/8.152, allocations: 20 kB / 3.143 GB, free: 69.82 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0007372/8.152, allocations: 0.5822 MB / 3.144 GB, free: 69.23 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.71e-07/8.152, allocations: 0 / 3.144 GB, free: 69.23 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.002293/8.155, allocations: 0.7242 MB / 3.145 GB, free: 68.51 MB / 0.6042 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 () * 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.00458/8.159, allocations: 4.011 MB / 3.149 GB, free: 64.7 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.002557/8.162, allocations: 1.136 MB / 3.15 GB, free: 63.56 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 5.811e-06/8.162, allocations: 0 / 3.15 GB, free: 63.56 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0006571/8.162, allocations: 454.9 kB / 3.15 GB, free: 63.11 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002413/8.165, allocations: 0.4951 MB / 3.151 GB, free: 62.62 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004062/8.169, allocations: 1.976 MB / 3.153 GB, free: 60.6 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005882/8.17, allocations: 1.169 MB / 3.154 GB, free: 59.41 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.001399/8.171, allocations: 353 kB / 3.154 GB, free: 59.07 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004692/8.171, allocations: 455.3 kB / 3.154 GB, free: 58.62 MB / 0.6042 GB Notification: Performance of SimCode: time 1.112e-06/8.171, allocations: 0 / 3.154 GB, free: 58.62 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08597/8.257, allocations: 60.33 MB / 3.213 GB, free: 14.94 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002008/8.258, allocations: 227.2 kB / 3.214 GB, free: 14.71 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.01/12.27, allocations: 0 / 3.214 GB, free: 14.71 MB / 0.6198 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/linux/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)