Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.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.HeatExchangers.Examples.WaterCooler_T,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_HeatExchangers_Examples_WaterCooler_T",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_HeatExchangers_Examples_WaterCooler_T",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.518/2.518, allocations: 287.3 MB / 302.3 MB, free: 8.23 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.001492/0.001491, allocations: 176.5 kB / 370.8 MB, free: 10.84 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.089/2.089, 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.001206/0.001206, allocations: 98.02 kB / 0.7428 GB, free: 6.605 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006807/0.0006808, allocations: 12.8 kB / 0.8657 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2276/0.2284, allocations: 115.3 MB / 0.9783 GB, free: 28.28 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.363/1.591, allocations: 454.5 MB / 1.422 GB, free: 7.801 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003363/1.592, allocations: 101.8 kB / 1.422 GB, free: 7.746 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 6.592/8.184, allocations: 1.171 GB / 2.593 GB, free: 142 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.885e-06/8.184, allocations: 2.875 kB / 2.593 GB, free: 142 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0004365/8.185, allocations: 55.34 kB / 2.593 GB, free: 142 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 282 * Number of variables: 282 Notification: Performance of Generate backend data structure: time 0.01062/8.195, allocations: 2.573 MB / 2.596 GB, free: 141.1 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.262e-05/8.195, allocations: 10.09 kB / 2.596 GB, free: 141.1 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007067/8.196, allocations: 171.2 kB / 2.596 GB, free: 141 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003845/8.2, allocations: 457.1 kB / 2.597 GB, free: 140.9 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01007/8.21, allocations: 2.321 MB / 2.599 GB, free: 140.5 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001699/8.21, allocations: 90.69 kB / 2.599 GB, free: 140.5 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005108/8.211, allocations: 129.9 kB / 2.599 GB, free: 140.5 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004266/8.215, allocations: 1.315 MB / 2.6 GB, free: 140.2 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.955e-05/8.215, allocations: 3.75 kB / 2.6 GB, free: 140.2 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002117/8.215, allocations: 51.89 kB / 2.6 GB, free: 140.2 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.069e-05/8.215, allocations: 27.03 kB / 2.6 GB, free: 140.2 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004109/8.22, allocations: 0.9648 MB / 2.601 GB, free: 140.2 MB / 0.948 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.0144/8.234, allocations: 6.897 MB / 2.608 GB, free: 136.1 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003356/8.237, allocations: 1.264 MB / 2.609 GB, free: 135.5 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007016/8.244, allocations: 2.893 MB / 2.612 GB, free: 133.7 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001439/8.246, allocations: 408.7 kB / 2.612 GB, free: 133.6 MB / 0.948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001104/8.247, allocations: 89.91 kB / 2.613 GB, free: 133.6 MB / 0.948 GB Notification: Performance of pre-optimization done (n=61): time 6.372e-06/8.247, allocations: 0 / 2.613 GB, free: 133.6 MB / 0.948 GB Notification: Performance of matching and sorting (n=61): time 0.004882/8.252, allocations: 1.121 MB / 2.614 GB, free: 133.4 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.073e-05/8.252, allocations: 166.2 kB / 2.614 GB, free: 133.2 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003562/8.256, allocations: 1.365 MB / 2.615 GB, free: 133 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.000299/8.256, allocations: 40.73 kB / 2.615 GB, free: 133 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001086/8.257, allocations: 0.8862 MB / 2.616 GB, free: 132.6 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003689/8.258, allocations: 220.8 kB / 2.616 GB, free: 132.5 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.831e-05/8.258, allocations: 17.22 kB / 2.616 GB, free: 132.5 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001082/8.258, allocations: 343.2 kB / 2.617 GB, free: 132.2 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00137/8.259, allocations: 334.3 kB / 2.617 GB, free: 132.2 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001679/8.261, allocations: 0.7686 MB / 2.618 GB, free: 131.7 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001619/8.263, allocations: 454.6 kB / 2.618 GB, free: 131.6 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.625e-05/8.263, allocations: 7.359 kB / 2.618 GB, free: 131.6 MB / 0.948 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.004618/8.267, allocations: 1.222 MB / 2.619 GB, free: 131.5 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.001105/8.268, allocations: 4.557 MB / 2.624 GB, free: 126.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.28e-05/8.269, allocations: 11.41 kB / 2.624 GB, free: 126.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.31e-05/8.269, allocations: 18 kB / 2.624 GB, free: 126.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001992/8.271, allocations: 252.3 kB / 2.624 GB, free: 126.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.793e-05/8.271, allocations: 23.84 kB / 2.624 GB, free: 126.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002615/8.273, allocations: 113.2 kB / 2.624 GB, free: 126.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000346/8.274, allocations: 57.5 kB / 2.624 GB, free: 126.7 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.741e-05/8.274, allocations: 3.688 kB / 2.624 GB, free: 126.7 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003921/8.278, allocations: 1.049 MB / 2.625 GB, free: 126.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.245e-05/8.278, allocations: 21.69 kB / 2.625 GB, free: 126.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.756e-05/8.278, allocations: 19.44 kB / 2.625 GB, free: 126.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001918/8.28, allocations: 236.5 kB / 2.626 GB, free: 126.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.558e-05/8.28, allocations: 27.14 kB / 2.626 GB, free: 126.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002506/8.282, allocations: 112.4 kB / 2.626 GB, free: 126.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000336/8.283, allocations: 63.84 kB / 2.626 GB, free: 126.6 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 50 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.TSet.T_start,TSet.T_start,$PRE.TSet.count,TSet.count,conPI.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (122): * Single equations (assignments): 118 * Array equations: 2 * Algorithm blocks: 1 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00162/8.284, allocations: 494.5 kB / 2.626 GB, free: 126.4 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006026/8.285, allocations: 165.7 kB / 2.626 GB, free: 126.3 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00416/8.289, allocations: 1.06 MB / 2.627 GB, free: 126.3 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.267e-05/8.289, allocations: 10.7 kB / 2.627 GB, free: 126.3 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.083e-05/8.289, allocations: 0 / 2.627 GB, free: 126.3 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002804/8.292, allocations: 0.8948 MB / 2.628 GB, free: 126 MB / 0.948 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 postOpt removeSimpleEquations (simulation): time 0.007201/8.299, allocations: 2.28 MB / 2.63 GB, free: 125.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.879e-06/8.299, allocations: 0 / 2.63 GB, free: 125.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001318/8.301, allocations: 135.8 kB / 2.631 GB, free: 125.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002556/8.301, allocations: 26.48 kB / 2.631 GB, free: 125.6 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000144/8.301, allocations: 21.09 kB / 2.631 GB, free: 125.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001222/8.302, allocations: 1.316 MB / 2.632 GB, free: 124.3 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.048e-06/8.302, allocations: 1.688 kB / 2.632 GB, free: 124.3 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004894/8.307, allocations: 1.486 MB / 2.633 GB, free: 124 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001244/8.309, allocations: 340.6 kB / 2.634 GB, free: 123.8 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005977/8.309, allocations: 20.64 kB / 2.634 GB, free: 123.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002078/8.311, allocations: 105.2 kB / 2.634 GB, free: 123.8 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002434/8.312, allocations: 54.61 kB / 2.634 GB, free: 123.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001303/8.312, allocations: 35.98 kB / 2.634 GB, free: 123.8 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.002745/8.315, allocations: 1.101 MB / 2.635 GB, free: 123.7 MB / 0.948 GB Notification: Performance of sort global known variables: time 9.81e-07/8.315, allocations: 0 / 2.635 GB, free: 123.7 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.005941/8.321, allocations: 1.026 MB / 2.636 GB, free: 123.5 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 6 (vol.dynBal.U,mov.filter.x[1],mov.filter.x[2],conPI.I.y,THeaOut.T,coo.outCon.T) * Number of discrete variables: 3 ($whenCondition1,TSet.T_start,TSet.count) * Number of discrete states: 1 (TSet.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (70): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 2 * 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: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.009081/8.33, allocations: 3.4 MB / 2.639 GB, free: 122.4 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.005127/8.335, allocations: 1.553 MB / 2.641 GB, free: 122.1 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 9.307e-06/8.335, allocations: 5.562 kB / 2.641 GB, free: 122.1 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.00172/8.337, allocations: 0.4993 MB / 2.641 GB, free: 122 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006024/8.343, allocations: 0.7431 MB / 2.642 GB, free: 122 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0141/8.357, allocations: 12.58 MB / 2.654 GB, free: 111.9 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00126/8.358, allocations: 1.403 MB / 2.656 GB, free: 111.2 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.003506/8.362, allocations: 445.1 kB / 2.656 GB, free: 111.1 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001846/8.364, allocations: 0.7211 MB / 2.657 GB, free: 111.1 MB / 0.948 GB Notification: Performance of SimCode: time 1.793e-06/8.364, allocations: 2.469 kB / 2.657 GB, free: 111.1 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1617/8.525, allocations: 53.35 MB / 2.709 GB, free: 108.7 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00019/8.526, allocations: 259 kB / 2.709 GB, free: 108.4 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.176/13.7, allocations: 0 / 2.709 GB, free: 108.4 MB / 0.948 GB (rm -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_HeatExchangers_Examples_WaterCooler_T_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-08 Buildings_8_0_0_Buildings_Fluid_HeatExchangers_Examples_WaterCooler_T.fmu > Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe 2>&1)