Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2.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/IDEAS 3.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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_HeatExchangers_Radiators_Examples_RadiatorEN442_2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_HeatExchangers_Radiators_Examples_RadiatorEN442_2",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.00176/0.00176, allocations: 180.9 kB / 7.651 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8091/0.8091, allocations: 133.6 MB / 141.6 MB, free: 2.895 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.551/1.551, allocations: 221.5 MB / 395.5 MB, free: 10.75 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.00105/0.00105, allocations: 101.5 kB / 478.2 MB, free: 1.285 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.594e-05/2.584e-05, allocations: 8 kB / 0.5536 GB, free: 8.922 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5948/0.5948, allocations: 82.3 MB / 0.6339 GB, free: 40.73 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.965/1.56, allocations: 382.2 MB / 1.007 GB, free: 2.477 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003098/1.56, allocations: 95.62 kB / 1.007 GB, free: 2.426 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 7.659/9.22, allocations: 1.642 GB / 2.649 GB, free: 98.98 MB / 0.698 GB Notification: Performance of FrontEnd: time 4.108e-06/9.22, allocations: 2.344 kB / 2.649 GB, free: 98.98 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0009563/9.221, allocations: 118.4 kB / 2.649 GB, free: 98.98 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.01825/9.239, allocations: 3.885 MB / 2.653 GB, free: 98.37 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 7.36e-05/9.239, allocations: 12.19 kB / 2.653 GB, free: 98.37 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01119/9.25, allocations: 1.634 MB / 2.655 GB, free: 98.13 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04265/9.293, allocations: 18.27 MB / 2.673 GB, free: 97.18 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003149/9.293, allocations: 90.72 kB / 2.673 GB, free: 97.18 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001793/9.295, allocations: 177.3 kB / 2.673 GB, free: 97.18 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.008847/9.304, allocations: 3.483 MB / 2.676 GB, free: 97.17 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0115/9.316, allocations: 3.876 MB / 2.68 GB, free: 96.66 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.929e-05/9.316, allocations: 17.72 kB / 2.68 GB, free: 96.66 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004424/9.316, allocations: 9.188 kB / 2.68 GB, free: 96.66 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001594/9.316, allocations: 142.4 kB / 2.68 GB, free: 96.65 MB / 0.698 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.03184/9.348, allocations: 19.64 MB / 2.7 GB, free: 86.96 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003946/9.352, allocations: 2.687 MB / 2.702 GB, free: 86.92 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001961/9.354, allocations: 1.317 MB / 2.703 GB, free: 86.89 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005903/9.355, allocations: 0.5421 MB / 2.704 GB, free: 86.32 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.25e-05/9.355, allocations: 63.77 kB / 2.704 GB, free: 86.29 MB / 0.698 GB Notification: Performance of pre-optimization done (n=184): time 4.719e-06/9.355, allocations: 0 / 2.704 GB, free: 86.29 MB / 0.698 GB Notification: Performance of matching and sorting (n=184): time 0.006877/9.362, allocations: 2.974 MB / 2.707 GB, free: 85.98 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.519e-05/9.362, allocations: 76.05 kB / 2.707 GB, free: 85.91 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004964/9.367, allocations: 2.906 MB / 2.71 GB, free: 85.67 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0007893/9.368, allocations: 32.42 kB / 2.71 GB, free: 85.64 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001427/9.369, allocations: 1.766 MB / 2.712 GB, free: 84.99 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009513/9.37, allocations: 0.6007 MB / 2.712 GB, free: 84.59 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001518/9.37, allocations: 0 / 2.712 GB, free: 84.59 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001632/9.37, allocations: 405.2 kB / 2.713 GB, free: 84.29 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001608/9.372, allocations: 1.231 MB / 2.714 GB, free: 84.28 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001836/9.374, allocations: 1.894 MB / 2.716 GB, free: 83.53 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002563/9.376, allocations: 1.608 MB / 2.717 GB, free: 83.5 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.366e-05/9.376, allocations: 9.125 kB / 2.717 GB, free: 83.5 MB / 0.698 GB Notification: Performance of matching and sorting (n=311) (initialization): time 0.007951/9.384, allocations: 4.045 MB / 2.721 GB, free: 83.23 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.001422/9.386, allocations: 7.277 MB / 2.728 GB, free: 75.73 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.932e-05/9.386, allocations: 20.06 kB / 2.728 GB, free: 75.73 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004296/9.39, allocations: 1.239 MB / 2.729 GB, free: 75.69 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002507/9.393, allocations: 0.5029 MB / 2.73 GB, free: 75.69 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005395/9.398, allocations: 4.919 MB / 2.735 GB, free: 72.93 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005069/9.403, allocations: 400.6 kB / 2.735 GB, free: 72.8 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006542/9.404, allocations: 118.7 kB / 2.735 GB, free: 72.8 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.803e-05/9.404, allocations: 3.844 kB / 2.735 GB, free: 72.8 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006425/9.41, allocations: 3.479 MB / 2.739 GB, free: 72.72 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.905e-05/9.41, allocations: 20.16 kB / 2.739 GB, free: 72.72 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005158/9.416, allocations: 1.322 MB / 2.74 GB, free: 72.69 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002196/9.418, allocations: 490.9 kB / 2.74 GB, free: 72.69 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004506/9.422, allocations: 3.57 MB / 2.744 GB, free: 71.11 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004505/9.427, allocations: 334.3 kB / 2.744 GB, free: 71 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005028/9.427, allocations: 114.6 kB / 2.744 GB, free: 71 MB / 0.698 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.0008909/9.428, allocations: 168.5 kB / 2.745 GB, free: 70.89 MB / 0.698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.005892/9.434, allocations: 2.771 MB / 2.747 GB, free: 70.59 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001547/9.436, allocations: 330.6 kB / 2.748 GB, free: 70.43 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005455/9.441, allocations: 3.065 MB / 2.751 GB, free: 70.23 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.919e-05/9.441, allocations: 18.69 kB / 2.751 GB, free: 70.23 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.125e-05/9.441, allocations: 3.688 kB / 2.751 GB, free: 70.23 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003546/9.445, allocations: 2.477 MB / 2.753 GB, free: 70.07 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01326/9.458, allocations: 6.532 MB / 2.759 GB, free: 69.45 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-05/9.458, allocations: 3.844 kB / 2.759 GB, free: 69.45 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001428/9.46, allocations: 286.2 kB / 2.76 GB, free: 69.45 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002876/9.463, allocations: 0.9508 MB / 2.761 GB, free: 69.4 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002154/9.463, allocations: 21.11 kB / 2.761 GB, free: 69.4 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006407/9.469, allocations: 9.732 MB / 2.77 GB, free: 61.73 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.36e-06/9.469, allocations: 2.25 kB / 2.77 GB, free: 61.73 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006969/9.476, allocations: 4.532 MB / 2.775 GB, free: 61.18 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00287/9.479, allocations: 0.8315 MB / 2.775 GB, free: 60.89 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001161/9.48, allocations: 10.77 kB / 2.775 GB, free: 60.89 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003014/9.483, allocations: 194 kB / 2.776 GB, free: 60.88 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000267/9.484, allocations: 127.1 kB / 2.776 GB, free: 60.88 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001951/9.484, allocations: 84.92 kB / 2.776 GB, free: 60.88 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.003483/9.487, allocations: 2.212 MB / 2.778 GB, free: 60.73 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.7e-07/9.487, allocations: 0 / 2.778 GB, free: 60.73 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0102/9.498, allocations: 2.154 MB / 2.78 GB, free: 60.41 MB / 0.698 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.008732/9.506, allocations: 5.835 MB / 2.786 GB, free: 59.11 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.009226/9.516, allocations: 4.866 MB / 2.79 GB, free: 59.01 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.053e-05/9.516, allocations: 2.906 kB / 2.79 GB, free: 59.01 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.002457/9.518, allocations: 1.774 MB / 2.792 GB, free: 58.48 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009864/9.528, allocations: 1.731 MB / 2.794 GB, free: 58.47 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01898/9.547, allocations: 7.552 MB / 2.801 GB, free: 57.07 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002476/9.55, allocations: 3.033 MB / 2.804 GB, free: 56.3 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.008005/9.558, allocations: 2.256 MB / 2.806 GB, free: 56.27 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002957/9.561, allocations: 1.459 MB / 2.808 GB, free: 56.26 MB / 0.698 GB Notification: Performance of SimCode: time 2.064e-06/9.561, allocations: 0 / 2.808 GB, free: 56.26 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7174/10.28, allocations: 113.9 MB / 2.919 GB, free: 92.07 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002196/10.28, allocations: 174.2 kB / 2.919 GB, free: 91.88 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.886/16.16, allocations: 2.094 kB / 2.919 GB, free: 91.88 MB / 0.7136 GB (rm -f IDEAS_dev_IDEAS.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_HeatExchangers_Radiators_Examples_RadiatorEN442_2_fmu --startTime=0 --stopTime=10800 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_HeatExchangers_Radiators_Examples_RadiatorEN442_2.fmu > IDEAS_dev_IDEAS.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2.pipe 2>&1)