Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_HeatExchangers_Radiators_Examples_RadiatorEN442_2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_HeatExchangers_Radiators_Examples_RadiatorEN442_2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.6895/0.6895, allocations: 141.7 MB / 154.3 MB, free: 15.49 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008984/0.0008983, allocations: 181.6 kB / 187.3 MB, free: 11.89 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.207/1.207, allocations: 221.3 MB / 441.4 MB, free: 4.609 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007593/0.0007594, allocations: 92.56 kB / 0.5124 GB, free: 24.18 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001579/0.001579, allocations: 286.3 kB / 0.5939 GB, free: 7.953 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 3.161e-05/3.171e-05, allocations: 8 kB / 0.6835 GB, free: 12.14 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3296/0.3297, allocations: 82.77 MB / 0.7644 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6158/0.9455, allocations: 380.2 MB / 1.136 GB, free: 10.04 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002418/0.9458, allocations: 102.1 kB / 1.136 GB, free: 9.984 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 4.946/5.892, allocations: 1.645 GB / 2.781 GB, free: 23.13 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.352e-06/5.892, allocations: 0 / 2.781 GB, free: 23.13 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0004255/5.892, allocations: 115.8 kB / 2.781 GB, free: 23.02 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 746 * Number of variables: 746 Notification: Performance of Generate backend data structure: time 0.007502/5.9, allocations: 3.846 MB / 2.785 GB, free: 19.11 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.701e-05/5.9, allocations: 12.03 kB / 2.785 GB, free: 19.1 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005568/5.9, allocations: 429.8 kB / 2.785 GB, free: 18.67 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007644/5.908, allocations: 1.634 MB / 2.787 GB, free: 17.03 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.4097/6.318, allocations: 18.15 MB / 2.804 GB, free: 96.62 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002539/6.318, allocations: 226.6 kB / 2.805 GB, free: 96.61 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008624/6.319, allocations: 307.4 kB / 2.805 GB, free: 96.61 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008585/6.328, allocations: 4.276 MB / 2.809 GB, free: 96.09 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.926e-05/6.328, allocations: 13.47 kB / 2.809 GB, free: 96.09 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004044/6.328, allocations: 122.3 kB / 2.809 GB, free: 96.09 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001289/6.328, allocations: 148.7 kB / 2.809 GB, free: 96.08 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005315/6.334, allocations: 3.681 MB / 2.813 GB, free: 96.05 MB / 0.7136 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.02224/6.356, allocations: 20.06 MB / 2.833 GB, free: 86.56 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003149/6.359, allocations: 2.599 MB / 2.835 GB, free: 86.5 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001361/6.36, allocations: 1.288 MB / 2.836 GB, free: 86.49 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004142/6.361, allocations: 0.5359 MB / 2.837 GB, free: 85.92 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.565e-05/6.361, allocations: 62.22 kB / 2.837 GB, free: 85.88 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=184): time 4.007e-06/6.361, allocations: 0 / 2.837 GB, free: 85.88 MB / 0.7136 GB Notification: Performance of matching and sorting (n=184): time 0.004967/6.366, allocations: 2.898 MB / 2.84 GB, free: 85.59 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.431e-05/6.366, allocations: 77.98 kB / 2.84 GB, free: 85.52 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004592/6.37, allocations: 3.015 MB / 2.843 GB, free: 85.27 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0003953/6.371, allocations: 69.7 kB / 2.843 GB, free: 85.24 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.001311/6.372, allocations: 1.735 MB / 2.845 GB, free: 84.77 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005795/6.373, allocations: 0.6365 MB / 2.845 GB, free: 84.45 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002216/6.373, allocations: 47.41 kB / 2.845 GB, free: 84.45 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001357/6.373, allocations: 408.9 kB / 2.846 GB, free: 84.14 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001594/6.375, allocations: 1.189 MB / 2.847 GB, free: 84.14 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001855/6.377, allocations: 1.873 MB / 2.849 GB, free: 83.38 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001901/6.379, allocations: 1.551 MB / 2.85 GB, free: 83.35 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.288e-05/6.379, allocations: 7.344 kB / 2.85 GB, free: 83.35 MB / 0.7136 GB Notification: Performance of matching and sorting (n=311) (initialization): time 0.007695/6.386, allocations: 4.098 MB / 2.854 GB, free: 83.09 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.001748/6.388, allocations: 7.254 MB / 2.861 GB, free: 75.58 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.918e-05/6.388, allocations: 23.55 kB / 2.861 GB, free: 75.58 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005773/6.394, allocations: 1.455 MB / 2.863 GB, free: 75.54 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00207/6.396, allocations: 0.4919 MB / 2.863 GB, free: 75.54 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004195/6.4, allocations: 4.76 MB / 2.868 GB, free: 72.78 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003775/6.404, allocations: 443.1 kB / 2.868 GB, free: 72.71 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000375/6.404, allocations: 130.3 kB / 2.868 GB, free: 72.71 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.09e-05/6.404, allocations: 5.188 kB / 2.868 GB, free: 72.71 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006245/6.411, allocations: 3.836 MB / 2.872 GB, free: 72.63 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.954e-05/6.411, allocations: 20.44 kB / 2.872 GB, free: 72.63 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005295/6.416, allocations: 1.482 MB / 2.873 GB, free: 72.59 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001683/6.418, allocations: 480.6 kB / 2.874 GB, free: 72.59 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003529/6.421, allocations: 3.563 MB / 2.877 GB, free: 71 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003324/6.425, allocations: 386.6 kB / 2.878 GB, free: 70.95 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003221/6.425, allocations: 116.7 kB / 2.878 GB, free: 70.95 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 76 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (237): * Single equations (assignments): 232 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {4 7,5 50,3 8} Notification: Performance of prepare postOptimizeDAE: time 0.0007039/6.426, allocations: 244.6 kB / 2.878 GB, free: 70.84 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001293/6.427, allocations: 330.4 kB / 2.878 GB, free: 70.67 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00564/6.433, allocations: 3.303 MB / 2.882 GB, free: 70.48 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-05/6.433, allocations: 21.19 kB / 2.882 GB, free: 70.48 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.492e-05/6.433, allocations: 5.391 kB / 2.882 GB, free: 70.48 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003352/6.436, allocations: 2.69 MB / 2.884 GB, free: 70.32 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01125/6.447, allocations: 7.154 MB / 2.891 GB, free: 69.7 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.466e-06/6.447, allocations: 3.938 kB / 2.891 GB, free: 69.7 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001155/6.448, allocations: 285.3 kB / 2.892 GB, free: 69.7 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003281/6.452, allocations: 1.104 MB / 2.893 GB, free: 69.64 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001393/6.452, allocations: 49.64 kB / 2.893 GB, free: 69.64 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005492/6.457, allocations: 10.02 MB / 2.903 GB, free: 61.66 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/6.457, allocations: 7.688 kB / 2.903 GB, free: 61.66 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006382/6.464, allocations: 4.799 MB / 2.907 GB, free: 61.11 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002082/6.466, allocations: 0.8376 MB / 2.908 GB, free: 60.85 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007752/6.467, allocations: 35.61 kB / 2.908 GB, free: 60.85 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002524/6.469, allocations: 238.4 kB / 2.908 GB, free: 60.84 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002324/6.469, allocations: 127.2 kB / 2.908 GB, free: 60.84 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002432/6.47, allocations: 91.45 kB / 2.908 GB, free: 60.84 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.003595/6.473, allocations: 2.331 MB / 2.911 GB, free: 60.68 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3e-07/6.473, allocations: 0 / 2.911 GB, free: 60.68 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.007912/6.481, allocations: 2.281 MB / 2.913 GB, free: 60.46 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 5 (rad1.vol[1].dynBal.U,rad1.vol[2].dynBal.U,rad1.vol[3].dynBal.U,rad1.vol[4].dynBal.U,rad1.vol[5].dynBal.U) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (137): * Single equations (assignments): 127 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 1 {5 60} Notification: Performance of Backend phase and start with SimCode phase: time 0.007678/6.489, allocations: 6.094 MB / 2.919 GB, free: 59.2 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.01084/6.5, allocations: 5.327 MB / 2.924 GB, free: 59.1 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 8.235e-06/6.5, allocations: 3.984 kB / 2.924 GB, free: 59.09 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.002528/6.502, allocations: 1.867 MB / 2.926 GB, free: 58.53 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008032/6.51, allocations: 1.77 MB / 2.928 GB, free: 58.51 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01426/6.525, allocations: 7.688 MB / 2.935 GB, free: 57.16 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003597/6.528, allocations: 3.029 MB / 2.938 GB, free: 72.39 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.006385/6.535, allocations: 2.198 MB / 2.94 GB, free: 72.36 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001952/6.537, allocations: 1.441 MB / 2.942 GB, free: 72.35 MB / 0.7292 GB Notification: Performance of SimCode: time 7.41e-07/6.537, allocations: 0 / 2.942 GB, free: 72.35 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1705/6.707, allocations: 123.8 MB / 3.063 GB, free: 7.133 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002346/6.708, allocations: 253.1 kB / 3.063 GB, free: 6.793 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.014/11.72, allocations: 3.188 kB / 3.063 GB, free: 6.793 MB / 0.7292 GB (rm -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_HeatExchangers_Radiators_Examples_RadiatorEN442_2_fmu --startTime=0 --stopTime=10800 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_HeatExchangers_Radiators_Examples_RadiatorEN442_2.fmu > BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2.pipe 2>&1)