Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatExchangers_Radiators_Examples_RadiatorEN442_2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2,fileNamePrefix="IBPSA_latest_IBPSA_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.0009554/0.0009553, allocations: 177.6 kB / 8.002 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5031/0.5031, allocations: 90.91 MB / 99.34 MB, free: 2.211 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.539/1.539, allocations: 221.5 MB / 343.2 MB, free: 1.57 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009005/0.0009005, allocations: 91.27 kB / 415.9 MB, free: 11.16 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.763e-05/1.766e-05, allocations: 4 kB / 494.6 MB, free: 52.32 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1442/0.1442, allocations: 72.31 MB / 0.5536 GB, free: 12.18 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.185/1.329, allocations: 372.6 MB / 0.9175 GB, free: 107.6 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000282/1.33, allocations: 91.06 kB / 0.9175 GB, free: 107.6 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 5.797/7.126, allocations: 1.66 GB / 2.578 GB, free: 69.66 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.044e-06/7.126, allocations: 0 / 2.578 GB, free: 69.66 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 0.000635/7.127, allocations: 114.8 kB / 2.578 GB, free: 69.64 MB / 0.6198 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.01135/7.138, allocations: 3.886 MB / 2.582 GB, free: 66.79 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.494e-05/7.139, allocations: 8.031 kB / 2.582 GB, free: 66.79 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009618/7.148, allocations: 1.632 MB / 2.583 GB, free: 65.15 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03931/7.187, allocations: 18.28 MB / 2.601 GB, free: 47.04 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001403/7.188, allocations: 92 kB / 2.601 GB, free: 46.95 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001103/7.189, allocations: 191.9 kB / 2.602 GB, free: 46.76 MB / 0.6198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005972/7.195, allocations: 3.486 MB / 2.605 GB, free: 43.27 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005846/7.201, allocations: 3.866 MB / 2.609 GB, free: 39.23 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.697e-05/7.201, allocations: 7.938 kB / 2.609 GB, free: 39.22 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003265/7.201, allocations: 8 kB / 2.609 GB, free: 39.21 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001264/7.201, allocations: 145.5 kB / 2.609 GB, free: 39.07 MB / 0.6198 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.02503/7.226, allocations: 19.64 MB / 2.628 GB, free: 18.37 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003183/7.229, allocations: 2.683 MB / 2.631 GB, free: 15.69 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001335/7.231, allocations: 1.309 MB / 2.632 GB, free: 14.38 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004746/7.231, allocations: 0.542 MB / 2.633 GB, free: 13.74 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.423e-05/7.231, allocations: 60.56 kB / 2.633 GB, free: 13.67 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=184): time 5.15e-06/7.231, allocations: 0 / 2.633 GB, free: 13.67 MB / 0.6198 GB Notification: Performance of matching and sorting (n=184): time 0.00623/7.238, allocations: 2.984 MB / 2.636 GB, free: 10.66 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.76e-05/7.238, allocations: 77.41 kB / 2.636 GB, free: 10.57 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004329/7.242, allocations: 2.909 MB / 2.638 GB, free: 7.668 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.0005108/7.243, allocations: 29.7 kB / 2.638 GB, free: 7.633 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.001414/7.244, allocations: 1.763 MB / 2.64 GB, free: 5.852 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008495/7.245, allocations: 0.6081 MB / 2.641 GB, free: 5.234 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001467/7.245, allocations: 0 / 2.641 GB, free: 5.234 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001679/7.245, allocations: 406.9 kB / 2.641 GB, free: 4.832 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001714/7.247, allocations: 1.231 MB / 2.642 GB, free: 3.598 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001952/7.249, allocations: 1.89 MB / 2.644 GB, free: 1.414 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.4415/7.69, allocations: 1.611 MB / 2.646 GB, free: 79.45 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.791e-05/7.69, allocations: 6.062 kB / 2.646 GB, free: 79.45 MB / 0.6198 GB Notification: Performance of matching and sorting (n=311) (initialization): time 0.01197/7.702, allocations: 4.038 MB / 2.65 GB, free: 79.36 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.001771/7.704, allocations: 7.275 MB / 2.657 GB, free: 71.88 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.134e-05/7.704, allocations: 16.75 kB / 2.657 GB, free: 71.88 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005128/7.709, allocations: 1.229 MB / 2.658 GB, free: 71.85 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002922/7.712, allocations: 0.5004 MB / 2.659 GB, free: 71.85 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006567/7.719, allocations: 4.928 MB / 2.663 GB, free: 69.12 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005052/7.724, allocations: 399.4 kB / 2.664 GB, free: 69.12 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005566/7.725, allocations: 120.8 kB / 2.664 GB, free: 69.12 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.798e-05/7.725, allocations: 3.625 kB / 2.664 GB, free: 69.12 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007001/7.732, allocations: 3.474 MB / 2.667 GB, free: 69.04 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.044e-05/7.732, allocations: 16.16 kB / 2.667 GB, free: 69.04 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005614/7.737, allocations: 1.323 MB / 2.669 GB, free: 69.02 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00228/7.74, allocations: 490.9 kB / 2.669 GB, free: 69.02 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004771/7.744, allocations: 3.564 MB / 2.673 GB, free: 67.45 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004447/7.749, allocations: 337.7 kB / 2.673 GB, free: 67.39 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003505/7.749, allocations: 118.5 kB / 2.673 GB, free: 67.39 MB / 0.6198 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.0009895/7.75, allocations: 163.4 kB / 2.673 GB, free: 67.29 MB / 0.6198 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.006841/7.757, allocations: 2.782 MB / 2.676 GB, free: 66.99 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00112/7.758, allocations: 330.1 kB / 2.676 GB, free: 66.82 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005829/7.764, allocations: 3.056 MB / 2.679 GB, free: 66.64 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.802e-05/7.764, allocations: 24.95 kB / 2.679 GB, free: 66.64 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.037e-05/7.764, allocations: 7.656 kB / 2.679 GB, free: 66.64 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003284/7.768, allocations: 2.479 MB / 2.682 GB, free: 66.48 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01146/7.779, allocations: 6.522 MB / 2.688 GB, free: 65.9 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.205e-06/7.779, allocations: 5.312 kB / 2.688 GB, free: 65.9 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001254/7.78, allocations: 281.5 kB / 2.688 GB, free: 65.9 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002727/7.783, allocations: 0.9576 MB / 2.689 GB, free: 65.84 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001167/7.783, allocations: 16 kB / 2.689 GB, free: 65.84 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005794/7.789, allocations: 9.74 MB / 2.699 GB, free: 58.19 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.55e-06/7.789, allocations: 3.719 kB / 2.699 GB, free: 58.19 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007529/7.797, allocations: 4.532 MB / 2.703 GB, free: 57.64 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002501/7.799, allocations: 0.8241 MB / 2.704 GB, free: 57.38 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004158/7.799, allocations: 8.562 kB / 2.704 GB, free: 57.38 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001956/7.801, allocations: 201.4 kB / 2.704 GB, free: 57.37 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002294/7.802, allocations: 124 kB / 2.704 GB, free: 57.37 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000168/7.802, allocations: 85.61 kB / 2.704 GB, free: 57.37 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.002968/7.805, allocations: 2.217 MB / 2.706 GB, free: 57.22 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.8e-07/7.805, allocations: 0 / 2.706 GB, free: 57.22 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.007183/7.812, allocations: 2.154 MB / 2.709 GB, free: 57.08 MB / 0.6198 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.007096/7.819, allocations: 5.83 MB / 2.714 GB, free: 55.82 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.008888/7.828, allocations: 4.854 MB / 2.719 GB, free: 55.73 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.539e-05/7.828, allocations: 3.688 kB / 2.719 GB, free: 55.73 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.002507/7.831, allocations: 1.77 MB / 2.721 GB, free: 55.21 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008999/7.84, allocations: 1.73 MB / 2.722 GB, free: 55.2 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01401/7.854, allocations: 7.553 MB / 2.73 GB, free: 53.87 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002346/7.856, allocations: 3.037 MB / 2.733 GB, free: 53.1 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.007198/7.863, allocations: 2.272 MB / 2.735 GB, free: 53.07 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002326/7.866, allocations: 1.453 MB / 2.736 GB, free: 53.06 MB / 0.6198 GB Notification: Performance of SimCode: time 1.854e-06/7.866, allocations: 3.062 kB / 2.736 GB, free: 53.06 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1814/8.047, allocations: 113.9 MB / 2.848 GB, free: 9.117 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002396/8.047, allocations: 176.2 kB / 2.848 GB, free: 8.93 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.262/13.31, allocations: 3.281 kB / 2.848 GB, free: 8.93 MB / 0.6198 GB (rm -f IBPSA_latest_IBPSA.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_HeatExchangers_Radiators_Examples_RadiatorEN442_2_fmu --startTime=0 --stopTime=10800 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_HeatExchangers_Radiators_Examples_RadiatorEN442_2.fmu > IBPSA_latest_IBPSA.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2.pipe 2>&1)