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.8689/0.8689, allocations: 141.8 MB / 149.3 MB, free: 9.211 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00114/0.00114, allocations: 176.8 kB / 182.2 MB, free: 9.445 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.628/1.628, allocations: 221.5 MB / 436.4 MB, free: 13.31 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.0009308/0.0009306, allocations: 91.8 kB / 0.5074 GB, free: 10.14 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00213/0.00213, allocations: 293.8 kB / 0.5889 GB, free: 54.68 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 2.85e-05/2.852e-05, allocations: 0 / 0.6766 GB, free: 12.75 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5377/0.5378, allocations: 82.77 MB / 0.7575 GB, free: 31.93 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9991/1.537, allocations: 379.5 MB / 1.128 GB, free: 1.641 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000364/1.537, allocations: 94.69 kB / 1.128 GB, free: 1.59 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 6.781/8.319, allocations: 1.637 GB / 2.765 GB, free: 10.55 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.464e-06/8.319, allocations: 0 / 2.765 GB, free: 10.55 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.000788/8.32, allocations: 107.9 kB / 2.765 GB, free: 10.44 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: 746 * Number of variables: 746 Notification: Performance of Generate backend data structure: time 0.0141/8.334, allocations: 3.857 MB / 2.769 GB, free: 6.523 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.889e-05/8.334, allocations: 8.031 kB / 2.769 GB, free: 6.516 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01051/8.344, allocations: 1.619 MB / 2.77 GB, free: 4.891 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04394/8.388, allocations: 18.12 MB / 2.788 GB, free: 2.574 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001868/8.389, allocations: 92 kB / 2.788 GB, free: 2.484 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001336/8.39, allocations: 176 kB / 2.788 GB, free: 2.312 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.5219/8.912, allocations: 3.478 MB / 2.792 GB, free: 100.4 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009294/8.921, allocations: 3.867 MB / 2.796 GB, free: 99.85 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.18e-05/8.921, allocations: 12.42 kB / 2.796 GB, free: 99.85 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003799/8.922, allocations: 9.25 kB / 2.796 GB, free: 99.85 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001912/8.922, allocations: 139.3 kB / 2.796 GB, free: 99.84 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.0275/8.949, allocations: 19.63 MB / 2.815 GB, free: 90.45 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004035/8.953, allocations: 2.702 MB / 2.818 GB, free: 90.4 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00167/8.955, allocations: 1.312 MB / 2.819 GB, free: 90.38 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004832/8.956, allocations: 0.5386 MB / 2.819 GB, free: 89.81 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.244e-05/8.956, allocations: 62.53 kB / 2.819 GB, free: 89.77 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=184): time 4.238e-06/8.956, allocations: 0 / 2.819 GB, free: 89.77 MB / 0.7136 GB Notification: Performance of matching and sorting (n=184): time 0.006444/8.962, allocations: 2.975 MB / 2.822 GB, free: 89.47 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.72e-05/8.962, allocations: 71.25 kB / 2.822 GB, free: 89.41 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00539/8.968, allocations: 2.86 MB / 2.825 GB, free: 89.18 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.00091/8.969, allocations: 29.48 kB / 2.825 GB, free: 89.14 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.001773/8.97, allocations: 1.749 MB / 2.827 GB, free: 88.67 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.001329/8.972, allocations: 0.6025 MB / 2.828 GB, free: 88.35 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001863/8.972, allocations: 0 / 2.828 GB, free: 88.35 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.000198/8.972, allocations: 403.4 kB / 2.828 GB, free: 88.05 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001743/8.974, allocations: 1.24 MB / 2.829 GB, free: 88.04 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001999/8.976, allocations: 1.895 MB / 2.831 GB, free: 87.29 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002558/8.979, allocations: 1.61 MB / 2.833 GB, free: 87.26 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.164e-05/8.979, allocations: 5.156 kB / 2.833 GB, free: 87.26 MB / 0.7136 GB Notification: Performance of matching and sorting (n=311) (initialization): time 0.007759/8.986, allocations: 4.031 MB / 2.836 GB, free: 87 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.001308/8.988, allocations: 7.249 MB / 2.844 GB, free: 79.49 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.651e-05/8.988, allocations: 16.94 kB / 2.844 GB, free: 79.49 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004462/8.992, allocations: 1.233 MB / 2.845 GB, free: 79.45 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002471/8.995, allocations: 0.5083 MB / 2.845 GB, free: 79.45 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005222/9, allocations: 4.914 MB / 2.85 GB, free: 76.7 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00493/9.005, allocations: 399.5 kB / 2.85 GB, free: 76.62 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005796/9.005, allocations: 124.4 kB / 2.851 GB, free: 76.62 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.475e-05/9.005, allocations: 5.156 kB / 2.851 GB, free: 76.62 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006108/9.012, allocations: 3.476 MB / 2.854 GB, free: 76.55 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.438e-05/9.012, allocations: 17.3 kB / 2.854 GB, free: 76.55 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004848/9.017, allocations: 1.328 MB / 2.855 GB, free: 76.52 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002104/9.019, allocations: 494 kB / 2.856 GB, free: 76.52 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004323/9.023, allocations: 3.565 MB / 2.859 GB, free: 74.93 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00427/9.027, allocations: 333.3 kB / 2.86 GB, free: 74.88 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004774/9.028, allocations: 116.2 kB / 2.86 GB, free: 74.88 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 (247): * Single equations (assignments): 242 * 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 {5 6,5 40,5 6} Notification: Performance of prepare postOptimizeDAE: time 0.0008846/9.029, allocations: 164 kB / 2.86 GB, free: 74.77 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.005673/9.034, allocations: 2.765 MB / 2.863 GB, free: 74.48 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00144/9.036, allocations: 332.9 kB / 2.863 GB, free: 74.31 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005667/9.042, allocations: 3.048 MB / 2.866 GB, free: 74.13 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.373e-05/9.042, allocations: 23.27 kB / 2.866 GB, free: 74.13 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.355e-05/9.042, allocations: 2.438 kB / 2.866 GB, free: 74.13 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003735/9.045, allocations: 2.479 MB / 2.868 GB, free: 73.97 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01351/9.059, allocations: 6.513 MB / 2.875 GB, free: 73.39 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.788e-06/9.059, allocations: 3.781 kB / 2.875 GB, free: 73.39 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001239/9.06, allocations: 277.2 kB / 2.875 GB, free: 73.39 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002797/9.063, allocations: 0.9568 MB / 2.876 GB, free: 73.34 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001778/9.063, allocations: 19.02 kB / 2.876 GB, free: 73.34 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006201/9.069, allocations: 9.743 MB / 2.885 GB, free: 65.67 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.043e-06/9.069, allocations: 1.875 kB / 2.885 GB, free: 65.67 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007633/9.077, allocations: 4.529 MB / 2.89 GB, free: 65.12 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002772/9.08, allocations: 0.827 MB / 2.891 GB, free: 64.86 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009635/9.081, allocations: 6.5 kB / 2.891 GB, free: 64.86 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002802/9.084, allocations: 197.8 kB / 2.891 GB, free: 64.85 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002638/9.084, allocations: 120.9 kB / 2.891 GB, free: 64.85 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002492/9.084, allocations: 84.53 kB / 2.891 GB, free: 64.85 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.003661/9.088, allocations: 2.174 MB / 2.893 GB, free: 64.71 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.51e-07/9.088, allocations: 3.375 kB / 2.893 GB, free: 64.71 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.009561/9.098, allocations: 2.153 MB / 2.895 GB, free: 64.56 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 (142): * Single equations (assignments): 132 * 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 45} Notification: Performance of Backend phase and start with SimCode phase: time 0.008983/9.107, allocations: 5.822 MB / 2.901 GB, free: 63.3 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.01024/9.117, allocations: 4.853 MB / 2.906 GB, free: 63.21 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.269e-05/9.117, allocations: 3.938 kB / 2.906 GB, free: 63.21 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.002832/9.12, allocations: 1.778 MB / 2.907 GB, free: 62.68 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009869/9.13, allocations: 1.723 MB / 2.909 GB, free: 62.67 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0199/9.15, allocations: 7.5 MB / 2.916 GB, free: 61.3 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003142/9.153, allocations: 3.022 MB / 2.919 GB, free: 60.51 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.007668/9.16, allocations: 2.26 MB / 2.922 GB, free: 60.48 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002397/9.163, allocations: 1.432 MB / 2.923 GB, free: 60.47 MB / 0.7136 GB Notification: Performance of SimCode: time 6.31e-07/9.163, allocations: 0 / 2.923 GB, free: 60.47 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1677/9.331, allocations: 113.1 MB / 3.033 GB, free: 9.883 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002405/9.331, allocations: 195.5 kB / 3.034 GB, free: 9.625 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.366/14.7, allocations: 2.812 kB / 3.034 GB, free: 9.625 MB / 0.7136 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)