Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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_IDEAS_Fluid_HeatExchangers_Radiators_Examples_RadiatorEN442_2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2,fileNamePrefix="IDEAS_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.001571/0.001571, allocations: 174.5 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8649/0.8649, allocations: 133.4 MB / 146.7 MB, free: 10.78 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.659/1.659, allocations: 221.3 MB / 400.4 MB, free: 5.859 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001023/0.001023, allocations: 99.94 kB / 483.3 MB, free: 5.887 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 4.079e-05/4.083e-05, allocations: 3.062 kB / 0.5601 GB, free: 87.88 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2221/0.2221, allocations: 82.31 MB / 0.6405 GB, free: 7.738 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.558/1.78, allocations: 382.9 MB / 1.014 GB, free: 202.2 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002915/1.78, allocations: 93.47 kB / 1.015 GB, free: 202.2 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 6.991/8.771, allocations: 1.65 GB / 2.665 GB, free: 97.9 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.024e-06/8.771, allocations: 0 / 2.665 GB, free: 97.9 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.001132/8.772, allocations: 118.9 kB / 2.665 GB, free: 97.88 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.01478/8.787, allocations: 3.886 MB / 2.669 GB, free: 96.38 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.629e-05/8.787, allocations: 13.78 kB / 2.669 GB, free: 96.38 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002165/8.789, allocations: 415.7 kB / 2.669 GB, free: 96.32 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01075/8.8, allocations: 1.632 MB / 2.671 GB, free: 96.08 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04405/8.844, allocations: 18.33 MB / 2.689 GB, free: 94.91 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003547/8.845, allocations: 231.8 kB / 2.689 GB, free: 94.9 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001674/8.846, allocations: 302.1 kB / 2.689 GB, free: 94.9 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0132/8.86, allocations: 4.282 MB / 2.693 GB, free: 94.38 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001854/8.86, allocations: 15.16 kB / 2.693 GB, free: 94.38 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001244/8.861, allocations: 127.9 kB / 2.693 GB, free: 94.38 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000203/8.861, allocations: 144.8 kB / 2.694 GB, free: 94.38 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008552/8.87, allocations: 3.681 MB / 2.697 GB, free: 94.34 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.03363/8.903, allocations: 20.08 MB / 2.717 GB, free: 81.84 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004446/8.908, allocations: 2.589 MB / 2.719 GB, free: 80.86 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002031/8.91, allocations: 1.285 MB / 2.721 GB, free: 80.4 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000559/8.911, allocations: 0.5381 MB / 2.721 GB, free: 79.82 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.862e-05/8.911, allocations: 56.25 kB / 2.721 GB, free: 79.77 MB / 0.698 GB Notification: Performance of pre-optimization done (n=184): time 4.268e-06/8.911, allocations: 5.719 kB / 2.721 GB, free: 79.77 MB / 0.698 GB Notification: Performance of matching and sorting (n=184): time 0.007255/8.918, allocations: 2.912 MB / 2.724 GB, free: 78.7 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.543e-05/8.918, allocations: 68.56 kB / 2.724 GB, free: 78.63 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009606/8.928, allocations: 3.071 MB / 2.727 GB, free: 77.54 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.001034/8.929, allocations: 71.86 kB / 2.727 GB, free: 77.48 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.002187/8.931, allocations: 1.771 MB / 2.729 GB, free: 76.12 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.001332/8.932, allocations: 0.6301 MB / 2.73 GB, free: 75.64 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006187/8.933, allocations: 47.09 kB / 2.73 GB, free: 75.6 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.000285/8.933, allocations: 406.1 kB / 2.73 GB, free: 75.26 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002286/8.936, allocations: 1.19 MB / 2.731 GB, free: 74.85 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002685/8.938, allocations: 1.871 MB / 2.733 GB, free: 73.62 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002712/8.941, allocations: 1.552 MB / 2.734 GB, free: 73.12 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.21e-05/8.941, allocations: 7.125 kB / 2.734 GB, free: 73.12 MB / 0.698 GB Notification: Performance of matching and sorting (n=311) (initialization): time 0.01012/8.951, allocations: 4.108 MB / 2.738 GB, free: 71.75 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.002185/8.953, allocations: 7.284 MB / 2.746 GB, free: 64.11 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.181e-05/8.954, allocations: 17.56 kB / 2.746 GB, free: 64.11 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006752/8.96, allocations: 1.461 MB / 2.747 GB, free: 63.83 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002629/8.963, allocations: 0.4935 MB / 2.748 GB, free: 63.79 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004959/8.968, allocations: 4.756 MB / 2.752 GB, free: 60.36 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004768/8.973, allocations: 450.8 kB / 2.753 GB, free: 60.16 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006303/8.973, allocations: 125.3 kB / 2.753 GB, free: 60.14 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.54e-05/8.973, allocations: 10.31 kB / 2.753 GB, free: 60.13 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008045/8.981, allocations: 3.828 MB / 2.756 GB, free: 58.51 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-05/8.982, allocations: 20.25 kB / 2.756 GB, free: 58.49 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00578/8.987, allocations: 1.489 MB / 2.758 GB, free: 57.37 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002072/8.989, allocations: 475.4 kB / 2.758 GB, free: 56.97 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003982/8.993, allocations: 3.559 MB / 2.762 GB, free: 53.54 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004181/8.998, allocations: 393.7 kB / 2.762 GB, free: 53.16 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005709/8.998, allocations: 116 kB / 2.762 GB, free: 53.04 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 (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.001146/8.999, allocations: 236.4 kB / 2.763 GB, free: 52.8 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001723/9.001, allocations: 332 kB / 2.763 GB, free: 52.48 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006658/9.008, allocations: 3.32 MB / 2.766 GB, free: 49.13 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.075e-05/9.008, allocations: 20 kB / 2.766 GB, free: 49.11 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.266e-05/9.008, allocations: 4 kB / 2.766 GB, free: 49.11 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00389/9.012, allocations: 2.685 MB / 2.769 GB, free: 46.39 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01554/9.027, allocations: 7.18 MB / 2.776 GB, free: 39.15 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.338e-05/9.027, allocations: 7.984 kB / 2.776 GB, free: 39.14 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00126/9.029, allocations: 279.7 kB / 2.776 GB, free: 38.87 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003616/9.032, allocations: 1.108 MB / 2.777 GB, free: 37.76 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002211/9.033, allocations: 43.98 kB / 2.777 GB, free: 37.71 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006581/9.039, allocations: 10.04 MB / 2.787 GB, free: 26.95 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.386e-06/9.039, allocations: 0 / 2.787 GB, free: 26.95 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008006/9.047, allocations: 4.82 MB / 2.792 GB, free: 22.07 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002954/9.05, allocations: 0.8439 MB / 2.793 GB, free: 21.21 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001282/9.051, allocations: 40 kB / 2.793 GB, free: 21.17 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003376/9.055, allocations: 235.5 kB / 2.793 GB, free: 20.94 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003073/9.055, allocations: 121.8 kB / 2.793 GB, free: 20.82 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003061/9.055, allocations: 91.92 kB / 2.793 GB, free: 20.73 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.004848/9.06, allocations: 2.379 MB / 2.795 GB, free: 18.36 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.91e-07/9.06, allocations: 0 / 2.795 GB, free: 18.36 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.01111/9.071, allocations: 2.276 MB / 2.798 GB, free: 16.07 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 (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.01001/9.082, allocations: 6.105 MB / 2.803 GB, free: 10 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.01242/9.094, allocations: 5.312 MB / 2.809 GB, free: 4.703 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.114e-05/9.094, allocations: 4 kB / 2.809 GB, free: 4.699 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.002837/9.097, allocations: 1.87 MB / 2.81 GB, free: 2.766 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009615/9.107, allocations: 1.772 MB / 2.812 GB, free: 1.078 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02448/9.131, allocations: 7.767 MB / 2.82 GB, free: 9.293 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005259/9.136, allocations: 3.045 MB / 2.823 GB, free: 6.227 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.009864/9.146, allocations: 2.228 MB / 2.825 GB, free: 4.09 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003898/9.15, allocations: 1.464 MB / 2.826 GB, free: 2.625 MB / 0.7136 GB Notification: Performance of SimCode: time 1.984e-06/9.15, allocations: 0 / 2.826 GB, free: 2.625 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7273/9.878, allocations: 124.6 MB / 2.948 GB, free: 94.79 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001697/9.878, allocations: 231.4 kB / 2.948 GB, free: 94.56 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.071/15.95, allocations: 3.938 kB / 2.948 GB, free: 94.55 MB / 0.7136 GB (rm -f IDEAS_IDEAS.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_HeatExchangers_Radiators_Examples_RadiatorEN442_2_fmu --startTime=0 --stopTime=10800 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_HeatExchangers_Radiators_Examples_RadiatorEN442_2.fmu > IDEAS_IDEAS.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2.pipe 2>&1)