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.001503/0.001503, allocations: 176.2 kB / 7.648 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.8467/0.8467, allocations: 133.6 MB / 141.6 MB, free: 2.852 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.555/1.555, allocations: 221.5 MB / 395.4 MB, free: 10.78 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.0009547/0.0009545, allocations: 102.3 kB / 478.2 MB, free: 1.328 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.643e-05/2.647e-05, allocations: 4 kB / 0.5535 GB, free: 8.965 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5814/0.5814, allocations: 82.3 MB / 0.6339 GB, free: 40.75 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9697/1.551, allocations: 382.3 MB / 1.007 GB, free: 2.578 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002656/1.551, allocations: 95.56 kB / 1.007 GB, free: 2.527 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 7.358/8.909, allocations: 1.642 GB / 2.649 GB, free: 98.94 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.206e-06/8.909, allocations: 0 / 2.649 GB, free: 98.94 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.001342/8.911, allocations: 122.2 kB / 2.649 GB, free: 98.94 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.01949/8.93, allocations: 3.884 MB / 2.653 GB, free: 98.33 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 6.314e-05/8.93, allocations: 10.28 kB / 2.653 GB, free: 98.33 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01232/8.943, allocations: 1.628 MB / 2.655 GB, free: 98.09 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04742/8.99, allocations: 18.28 MB / 2.673 GB, free: 97.18 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004214/8.991, allocations: 90.53 kB / 2.673 GB, free: 97.18 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002141/8.993, allocations: 177.2 kB / 2.673 GB, free: 97.18 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.009963/9.003, allocations: 3.482 MB / 2.676 GB, free: 97.16 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0129/9.016, allocations: 3.876 MB / 2.68 GB, free: 96.66 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.802e-05/9.016, allocations: 17.03 kB / 2.68 GB, free: 96.66 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004382/9.016, allocations: 7.406 kB / 2.68 GB, free: 96.66 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001578/9.016, allocations: 136 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.02886/9.045, allocations: 19.64 MB / 2.7 GB, free: 86.96 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003765/9.049, allocations: 2.7 MB / 2.702 GB, free: 86.91 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001551/9.051, allocations: 1.312 MB / 2.703 GB, free: 86.89 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005001/9.051, allocations: 0.5365 MB / 2.704 GB, free: 86.32 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.283e-05/9.051, allocations: 57.97 kB / 2.704 GB, free: 86.28 MB / 0.698 GB Notification: Performance of pre-optimization done (n=184): time 4.278e-06/9.051, allocations: 0 / 2.704 GB, free: 86.28 MB / 0.698 GB Notification: Performance of matching and sorting (n=184): time 0.006645/9.058, allocations: 2.986 MB / 2.707 GB, free: 85.98 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.73e-05/9.058, allocations: 75.23 kB / 2.707 GB, free: 85.91 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005562/9.064, allocations: 2.902 MB / 2.71 GB, free: 85.67 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0009955/9.065, allocations: 35.55 kB / 2.71 GB, free: 85.64 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.00181/9.066, allocations: 1.767 MB / 2.712 GB, free: 84.99 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.001531/9.068, allocations: 0.5995 MB / 2.712 GB, free: 84.59 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001897/9.068, allocations: 0 / 2.712 GB, free: 84.59 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.00026/9.068, allocations: 410.3 kB / 2.713 GB, free: 84.29 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002002/9.07, allocations: 1.226 MB / 2.714 GB, free: 84.28 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002469/9.073, allocations: 1.893 MB / 2.716 GB, free: 83.53 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002979/9.076, allocations: 1.614 MB / 2.717 GB, free: 83.5 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.602e-05/9.076, allocations: 3.938 kB / 2.717 GB, free: 83.5 MB / 0.698 GB Notification: Performance of matching and sorting (n=311) (initialization): time 0.008294/9.084, allocations: 4.044 MB / 2.721 GB, free: 83.23 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.001427/9.086, allocations: 7.27 MB / 2.728 GB, free: 75.73 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.636e-05/9.086, allocations: 19.09 kB / 2.728 GB, free: 75.73 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004394/9.09, allocations: 1.236 MB / 2.729 GB, free: 75.69 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002366/9.093, allocations: 0.5061 MB / 2.73 GB, free: 75.69 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005296/9.098, allocations: 4.926 MB / 2.735 GB, free: 72.93 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005546/9.103, allocations: 395.4 kB / 2.735 GB, free: 72.8 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005658/9.104, allocations: 122.4 kB / 2.735 GB, free: 72.8 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.564e-05/9.104, allocations: 7.688 kB / 2.735 GB, free: 72.8 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00658/9.111, allocations: 3.478 MB / 2.739 GB, free: 72.72 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.246e-05/9.111, allocations: 15.31 kB / 2.739 GB, free: 72.72 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004876/9.116, allocations: 1.32 MB / 2.74 GB, free: 72.69 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001957/9.118, allocations: 489 kB / 2.74 GB, free: 72.69 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004146/9.122, allocations: 3.573 MB / 2.744 GB, free: 71.11 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004274/9.126, allocations: 332 kB / 2.744 GB, free: 71 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004476/9.126, allocations: 115 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.0008678/9.127, allocations: 166.9 kB / 2.745 GB, free: 70.89 MB / 0.698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.005662/9.133, allocations: 2.777 MB / 2.747 GB, free: 70.59 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0014/9.134, allocations: 330.6 kB / 2.748 GB, free: 70.43 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005416/9.14, allocations: 3.057 MB / 2.751 GB, free: 70.23 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.089e-05/9.14, allocations: 21.16 kB / 2.751 GB, free: 70.23 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.331e-05/9.14, allocations: 5.625 kB / 2.751 GB, free: 70.23 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00358/9.144, allocations: 2.483 MB / 2.753 GB, free: 70.07 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01359/9.157, allocations: 6.533 MB / 2.759 GB, free: 69.45 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.198e-06/9.157, allocations: 3.609 kB / 2.759 GB, free: 69.45 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001241/9.158, allocations: 286.7 kB / 2.76 GB, free: 69.45 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002825/9.161, allocations: 0.9568 MB / 2.761 GB, free: 69.4 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002/9.162, allocations: 15.05 kB / 2.761 GB, free: 69.4 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006153/9.168, allocations: 9.736 MB / 2.77 GB, free: 61.73 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.823e-06/9.168, allocations: 0 / 2.77 GB, free: 61.73 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007054/9.175, allocations: 4.527 MB / 2.775 GB, free: 61.18 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002847/9.178, allocations: 0.8338 MB / 2.775 GB, free: 60.89 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001187/9.179, allocations: 7.203 kB / 2.775 GB, free: 60.89 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003087/9.182, allocations: 198.6 kB / 2.776 GB, free: 60.88 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002568/9.182, allocations: 117.8 kB / 2.776 GB, free: 60.88 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002161/9.182, allocations: 88.22 kB / 2.776 GB, free: 60.88 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.003835/9.186, allocations: 2.212 MB / 2.778 GB, free: 60.73 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.723e-06/9.186, allocations: 10.03 kB / 2.778 GB, free: 60.73 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.01183/9.198, allocations: 2.16 MB / 2.78 GB, free: 60.45 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.008923/9.207, allocations: 5.824 MB / 2.786 GB, free: 59.18 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.009508/9.217, allocations: 4.863 MB / 2.79 GB, free: 59.08 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.245e-05/9.217, allocations: 3.094 kB / 2.79 GB, free: 59.08 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.002503/9.219, allocations: 1.774 MB / 2.792 GB, free: 58.55 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01036/9.23, allocations: 1.728 MB / 2.794 GB, free: 58.54 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0192/9.249, allocations: 7.556 MB / 2.801 GB, free: 57.18 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002364/9.251, allocations: 3.041 MB / 2.804 GB, free: 56.4 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.007452/9.259, allocations: 2.251 MB / 2.806 GB, free: 56.37 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002802/9.262, allocations: 1.459 MB / 2.808 GB, free: 56.36 MB / 0.698 GB Notification: Performance of SimCode: time 2.044e-06/9.262, allocations: 3.156 kB / 2.808 GB, free: 56.36 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7004/9.962, allocations: 113.9 MB / 2.919 GB, free: 92.23 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001694/9.962, allocations: 172.2 kB / 2.919 GB, free: 92.04 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.84/15.8, allocations: 3.25 kB / 2.919 GB, free: 92.04 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)